MeshLib
 
Loading...
Searching...
No Matches
MRMakeSphereMesh.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMesh.h"
4
5namespace MR
6{
7
9{
10 float radius = 1;
11 int numMeshVertices = 100;
12};
13
16
18MRMESH_API Mesh makeUVSphere( float radius = 1.0, int horisontalResolution = 16, int verticalResolution = 16 );
19
20} //namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:7
MRMESH_API Mesh makeSphere(const SphereParams &params)
creates a mesh of sphere with irregular triangulation
MRMESH_API Mesh makeUVSphere(float radius=1.0, int horisontalResolution=16, int verticalResolution=16)
creates a mesh of sphere with regular triangulation (parallels and meridians)
Definition MRMesh/MRMesh.h:23
Definition MRMakeSphereMesh.h:9
int numMeshVertices
Definition MRMakeSphereMesh.h:11
float radius
Definition MRMakeSphereMesh.h:10