MeshLib C Docs
Loading...
Searching...
No Matches
MRCube.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_Box3f MR_Box3f; // Defined in `#include <MRCMesh/MRBox.h>`.
10typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
11typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
12typedef struct MR_Vector3f MR_Vector3f; // Defined in `#include <MRCMesh/MRVector3.h>`.
13
14
28
37MRC_API MR_Mesh *MR_makeCube(const MR_Vector3f *size, const MR_Vector3f *base);
38
43MRC_API MR_Mesh *MR_makeParallelepiped(const MR_Vector3f *side, const MR_Vector3f *base);
44
49MRC_API MR_Mesh *MR_makeBoxMesh(const MR_Box3f *box);
50
51#ifdef __cplusplus
52} // extern "C"
53#endif
struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:15
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
MRC_API MR_Mesh * MR_makeParallelepiped(const MR_Vector3f *side, const MR_Vector3f *base)
MRC_API MR_MeshTopology * MR_makeCubeTopology(void)
MRC_API MR_Mesh * MR_makeCube(const MR_Vector3f *size, const MR_Vector3f *base)
MRC_API MR_Mesh * MR_makeBoxMesh(const MR_Box3f *box)
Definition MRBox.h:110
Generated from class MR::Vector3f.
Definition MRVector3.h:47