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
6extern "C" {
7#endif
8
9typedef 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
18MRC_API MR_Mesh *MR_makePrism(float baseLength, float leftAngle, float rightAngle, const float *height);
19
20#ifdef __cplusplus
21} // extern "C"
22#endif
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
MRC_API MR_Mesh * MR_makePrism(float baseLength, float leftAngle, float rightAngle, const float *height)
#define MRC_API
Definition exports.h:11