#include <MRCMisc/exports.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
◆ MR_Mesh
◆ MR_SphereParams
◆ MR_makeSphere()
creates a mesh of sphere with irregular triangulation Generated from function MR::makeSphere
. Parameter params
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_makeUVSphere()
MRC_API MR_Mesh * MR_makeUVSphere |
( |
const float * | radius, |
|
|
const int32_t * | horisontalResolution, |
|
|
const int32_t * | verticalResolution ) |
creates a mesh of sphere with regular triangulation (parallels and meridians) Generated from function MR::makeUVSphere
. Parameter radius
has a default argument: 1.
, pass a null pointer to use it. Parameter horisontalResolution
has a default argument: 16
, pass a null pointer to use it. Parameter verticalResolution
has a default argument: 16
, 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_SphereParams_AssignFromAnother()
Generated from a method of class MR::SphereParams
named operator=
. Parameter _this
can not be null. It is a single object. Parameter _other
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SphereParams_ConstructFrom()
◆ MR_SphereParams_ConstructFromAnother()
Generated from a constructor of class MR::SphereParams
. Parameter _other
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SphereParams_Destroy()
to free it when you're done using it.
◆ MR_SphereParams_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SphereParams_Destroy()
to free it when you're done using it.
◆ MR_SphereParams_DefaultConstructArray()
◆ MR_SphereParams_Destroy()
Destroys a heap-allocated instance of MR_SphereParams
. Does nothing if the pointer is null.
◆ MR_SphereParams_DestroyArray()
Destroys a heap-allocated array of MR_SphereParams
. Does nothing if the pointer is null.
◆ MR_SphereParams_Get_numMeshVertices()
Returns a pointer to a member variable of class MR::SphereParams
named numMeshVertices
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SphereParams_Get_radius()
Returns a pointer to a member variable of class MR::SphereParams
named radius
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SphereParams_GetMutable_numMeshVertices()
Returns a mutable pointer to a member variable of class MR::SphereParams
named numMeshVertices
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SphereParams_GetMutable_radius()
Returns a mutable pointer to a member variable of class MR::SphereParams
named radius
. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SphereParams_OffsetMutablePtr()
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
◆ MR_SphereParams_OffsetPtr()
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
◆ MR_SphereParams_Set_numMeshVertices()
Modifies a member variable of class MR::SphereParams
named numMeshVertices
. Parameter _this
can not be null. It is a single object.
◆ MR_SphereParams_Set_radius()
Modifies a member variable of class MR::SphereParams
named radius
. Parameter _this
can not be null. It is a single object.