|
Visual Computing Library
devel
|
The CreateSphereArgs structs contains a series of parameters to generate a sphere. More...
#include <vclib/algorithms/mesh/create/sphere.h>
Public Types | |
| enum | CreateSphereMode { UV = 0 , NORMALIZED_CUBE , SPHERIFIED_CUBE , ICOSAHEDRON } |
Public Attributes | |
| uint | divisions = 20 |
| uint | meridians = 20 |
| CreateSphereMode | mode = UV |
| uint | parallels = 10 |
The CreateSphereArgs structs contains a series of parameters to generate a sphere.
The main parameter is mode, an enumeration that indicates the method used to generate the sphere mesh. Its values can be: UV (default), NORMALIZED_CUBE, SPHERIFIED_CUBE and ICOSAHEDRON. Please refer to https://github.com/caosdoar/spheres for more details about the available modes.
Other arguments are:
UV;UV;NORMALIZED_CUBE, SPHERIFIED_CUBE, ICOSAHEDRON