#include <MRCMisc/exports.h>
Go to the source code of this file.
◆ MR_Box3f
| typedef struct MR_Box3f MR_Box3f |
◆ MR_Mesh
◆ MR_MeshTopology
◆ MR_Vector3f
| typedef struct MR_Vector3f MR_Vector3f |
◆ MR_makeBoxMesh()
creates mesh visualizing a box Generated from function MR::makeBoxMesh. Parameter box can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Mesh_Destroy() to free it when you're done using it.
◆ MR_makeCube()
creates box mesh with given min-corner (base) and given size in every dimension; with default parameters, creates unit cube mesh with the centroid in (0,0,0) Generated from function MR::makeCube. Parameter size is a single object. Parameter size has a default argument: Vector3f::diagonal(1.0f), pass a null pointer to use it. Parameter base is a single object. Parameter base has a default argument: Vector3f::diagonal(-0.5f), 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.
◆ MR_makeCubeTopology()
creates cube's topology with 8 vertices, 12 triangular faces, 18 undirected edges. The order of vertices: 0_v: x=min, y=min, z=min 1_v: x=min, y=max, z=min 2_v: x=max, y=max, z=min 3_v: x=max, y=min, z=min 4_v: x=min, y=min, z=max 5_v: x=min, y=max, z=max 6_v: x=max, y=max, z=max 7_v: x=max, y=min, z=max Generated from function MR::makeCubeTopology. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshTopology_Destroy() to free it when you're done using it.
◆ MR_makeParallelepiped()
creates parallelepiped mesh with given min-corner base and given directional vectors size Generated from function MR::makeParallelepiped. Parameter base can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Mesh_Destroy() to free it when you're done using it.