MeshLib C Docs
Loading...
Searching...
No Matches
MRPrism.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_Mesh MR_Mesh
 

Functions

MRC_API MR_MeshMR_makePrism (float baseLength, float leftAngle, float rightAngle, const float *height)
 

Typedef Documentation

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

Function Documentation

◆ MR_makePrism()

MRC_API MR_Mesh * MR_makePrism ( float baseLength,
float leftAngle,
float rightAngle,
const float * height )

Generated from function MR::makePrism. Parameter height has a default argument: 1.F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_Mesh_Destroy() to free it when you're done using it.