Keos::CMeshGen Class Reference

Class which generates simples meshes. More...

#include <KeosMeshGen.h>

List of all members.

Static Public Member Functions

static CMeshMakeCube (float fSize, const CColor &Color)
static CMeshMakeSphere (float fRadius, int nRings, int nSegment, const CColor &Color)


Detailed Description

Class which generates simples meshes.

Definition at line 32 of file KeosMeshGen.h.


Member Function Documentation

CMesh * Keos::CMeshGen::MakeCube ( float  fSize,
const CColor Color 
) [static]

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.


The documentation for this class was generated from the following files:
Generated on Fri Mar 9 14:29:26 2007 for Keos by  doxygen 1.5.1-p1