MeshLib C Docs
Loading...
Searching...
No Matches
MRPrism.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MRCMisc/exports.h
>
4
5
#ifdef __cplusplus
6
extern
"C"
{
7
#endif
8
9
typedef
struct
MR_Mesh
MR_Mesh
;
// Defined in `#include <MRCMesh/MRMesh.h>`.
10
11
12
//Creates a triangular prism. One edge of its base lies on 'x' axis and has 'baseLength' in length.
13
//'leftAngle' and 'rightAngle' specify two adjacent angles
14
// axis of a prism is parallel to 'z' axis
18
MRC_API
MR_Mesh
*
MR_makePrism
(
float
baseLength,
float
leftAngle,
float
rightAngle,
const
float
*height);
19
20
#ifdef __cplusplus
21
}
// extern "C"
22
#endif
MR_Mesh
struct MR_Mesh MR_Mesh
Definition
MRCtm.h:13
MR_makePrism
MRC_API MR_Mesh * MR_makePrism(float baseLength, float leftAngle, float rightAngle, const float *height)
exports.h
MRC_API
#define MRC_API
Definition
exports.h:11
MeshLib
Cbindings
MRCMesh
MRPrism.h
Generated by
1.11.0