Unofficial OpenGL Software Development Kit
0.5.0
|
Defines mesh generators for the Platonic solids. More...
Go to the source code of this file.
Namespaces | |
namespace | glmesh |
The main namespace for the GL Mesh library. All GL Mesh functions are in this namespace. | |
Functions | |
Platonic Solids | |
These functions generate meshes for the 5 Platonic solids. All of them take an optional list of colors to be applied to faces. All of them provide face normals, since they are all faceted. | |
Mesh * | glmesh::gen::Tetrahedron (const ColorArray &colorSequence=ColorArray()) |
Generates a regular, unit tetrahedron. More... | |
Mesh * | glmesh::gen::Cube (const ColorArray &colorSequence=ColorArray()) |
Generates a unit cube. More... | |
Mesh * | glmesh::gen::Octahedron (const ColorArray &colorSequence=ColorArray()) |
Generates a regular, unit octahedron. More... | |
Mesh * | glmesh::gen::Dodecahedron (const ColorArray &colorSequence=ColorArray()) |
Generates a regular, (nearly) unit dodecahedron. More... | |
Mesh * | glmesh::gen::Icosahedron (const ColorArray &colorSequence=ColorArray()) |
Generates a regular, unit icosahedron. More... | |
Defines mesh generators for the Platonic solids.