#include <KeosMeshGen.h>
Static Public Member Functions | |
| static CMesh * | MakeCube (float fSize, const CColor &Color) |
| static CMesh * | MakeSphere (float fRadius, int nRings, int nSegment, const CColor &Color) |
Definition at line 32 of file KeosMeshGen.h.
Definition at line 35 of file KeosMeshGen.cpp.
References Keos::CMesh::AddMaterial(), Keos::CMesh::AddMeshGeom(), Keos::CMesh::ComputeNormals(), and Keos::CSingleton< T >::Instance().
| CMesh * Keos::CMeshGen::MakeSphere | ( | float | fRadius, | |
| int | nRings, | |||
| int | nSegment, | |||
| const CColor & | Color | |||
| ) | [static] |
Definition at line 91 of file KeosMeshGen.cpp.
References Keos::CMesh::AddMaterial(), Keos::CMesh::AddMeshGeom(), Keos::CSingleton< T >::Instance(), int(), Keos::CMath::PI, Keos::PT_TRIANGLESTRIP, and Keos::CMath::TWO_PI.
1.5.1-p1