Helper class to generate vertex buffers for standard geometric shapes, such as cylinders, cones, boxes, spheres, elipsoids ... .
More...
|
static void | MakeCircle (ai_real radius, unsigned int tess, std::vector< aiVector3D > &positions) |
| Generates a flat circle.
|
|
static void | MakeCone (ai_real height, ai_real radius1, ai_real radius2, unsigned int tess, std::vector< aiVector3D > &positions, bool bOpen=false) |
| Generates a cone or a cylinder, either open or closed.
|
|
static unsigned int | MakeDodecahedron (std::vector< aiVector3D > &positions, bool polygons=false) |
| Generates a dodecahedron.
|
|
static unsigned int | MakeHexahedron (std::vector< aiVector3D > &positions, bool polygons=false) |
| Generates a hexahedron (cube)
|
|
static unsigned int | MakeIcosahedron (std::vector< aiVector3D > &positions) |
| Generates an icosahedron.
|
|
static aiMesh * | MakeMesh (const std::vector< aiVector3D > &positions, unsigned int numIndices) |
| Generates a mesh from an array of vertex positions.
|
|
static aiMesh * | MakeMesh (unsigned int n, void(*GenerateFunc)(unsigned int, std::vector< aiVector3D > &)) |
|
static aiMesh * | MakeMesh (unsigned int(*GenerateFunc)(std::vector< aiVector3D > &)) |
|
static aiMesh * | MakeMesh (unsigned int(*GenerateFunc)(std::vector< aiVector3D > &, bool)) |
|
static unsigned int | MakeOctahedron (std::vector< aiVector3D > &positions) |
| Generates an octahedron.
|
|
static void | MakeSphere (unsigned int tess, std::vector< aiVector3D > &positions) |
| Generates a sphere.
|
|
static unsigned int | MakeTetrahedron (std::vector< aiVector3D > &positions) |
| Generates a tetrahedron.
|
|
Helper class to generate vertex buffers for standard geometric shapes, such as cylinders, cones, boxes, spheres, elipsoids ... .