|
rigComponent 0.1.1
RigKit pack API - rigComponent
|
Icosphere-tessellated sphere. More...
#include <rigComponent/src/CSphere.h>
Public Attributes | |
| int | subdivisions = 1 |
| Icosahedron refinement steps: 0 = base 20 faces, each step is 4x more faces. | |
Icosphere-tessellated sphere.
Speaks rig.geometry.sphere.
Stays parametric like the 2D primitives (CRegularPolygon, CStar, ...): radius and subdivisions remain editable, and present rebuilds triangles fresh each frame (verticesOf(const CSphere&) in PrimitiveVertices3D.h) rather than baking a one-shot CMesh. Reach for CMesh directly instead when a shape needs per-face colors or a one-off hand-authored form.