MRMESHC_API MRMesh * mrMakeSphere(const MRSphereParams *params)
creates a mesh of sphere with irregular triangulation
struct MRMakeUVSphereParameters MRMakeUVSphereParameters
parameters for mrMakeUVSphere
MRMESHC_API MRSphereParams mrSphereParamsNew(void)
initializes a default instance
MR_EXTERN_C_BEGIN struct MRSphereParams MRSphereParams
parameters for mrMakeSphere
MRMESHC_API MRMakeUVSphereParameters mrMakeUvSphereParametersNew(void)
initializes a default instance
MRMESHC_API MRMesh * mrMakeUVSphere(const MRMakeUVSphereParameters *params)
creates a mesh of sphere with regular triangulation (parallels and meridians)
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
struct MRMesh MRMesh
Definition MRMeshC/MRMeshFwd.h:43
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
parameters for mrMakeUVSphere
Definition MRMeshC/MRMakeSphereMesh.h:22
int horizontalResolution
Definition MRMeshC/MRMakeSphereMesh.h:24
float radius
Definition MRMeshC/MRMakeSphereMesh.h:23
int verticalResolution
Definition MRMeshC/MRMakeSphereMesh.h:25
parameters for mrMakeSphere
Definition MRMeshC/MRMakeSphereMesh.h:9
float radius
Definition MRMeshC/MRMakeSphereMesh.h:10
int numMeshVertices
Definition MRMeshC/MRMakeSphereMesh.h:11