SphereMesh
Engine/source/math/util/sphereMesh.h
Classes:
Public Types
enum
_Anonymous_ { Tetrahedron = 4 Octahedron = 8 Icosahedron = 20 MaxLevel = 5 }
Private Attributes
Vector< TriangleMesh * >
Public Functions
Private Functions
Detailed Description
Public Types
@116
Enumerator
- Tetrahedron = 4
- Octahedron = 8
- Icosahedron = 20
- MaxLevel = 5
Private Attributes
Vector< TriangleMesh * > mDetails
Public Functions
SphereMesh(U32 baseType)
~SphereMesh()
getMesh(U32 level)
Private Functions
calcNormals(TriangleMesh * )
createIcosahedron()
createOctahedron()
createTetrahedron()
subdivideMesh(TriangleMesh * )