Unofficial OpenGL Software Development Kit: C:/Projects/distro/glsdk_0_5_1/glmesh/include/glmesh/GenPlatonic.h File Reference

Unofficial OpenGL Software Development Kit 0.5.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Namespaces
GenPlatonic.h File Reference

Defines mesh generators for the Platonic solids. More...

`#include "GenDescriptors.h"`
`#include "GenCommon.h"`

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...

## Detailed Description

Defines mesh generators for the Platonic solids.