RavEngine
Loading...
Searching...
No Matches
IcoSphere Class Reference

Public Member Functions

 IcoSphere (unsigned int levels=1)
 
const std::vector< Eigen::Vector3f > & vertices () const
 
const std::vector< int > & indices (int level) const
 
void draw (int level)
 

Protected Member Functions

void _subdivide ()
 

Protected Attributes

std::vector< Eigen::Vector3f > mVertices
 
std::vector< std::vector< int > * > mIndices
 
std::vector< int > mListIds
 

The documentation for this class was generated from the following files: