|
CeresEngine 0.2.0
A game development framework
|
A regular dodecahedron centered at origin with given radius. More...
#include <CeresEngine/Mesh/Generator/DodecahedronMesh.hpp>
Classes | |
| class | Triangles |
| class | Vertices |
Public Member Functions | |
| DodecahedronMesh (double radius=1.0, int segments=1, int rings=1) noexcept | |
| Triangles | triangles () const noexcept |
| Vertices | vertices () const noexcept |
Private Attributes | |
| double | mRadius |
| int | mSegments |
| int | mRings |
| int | mFaceVertexCount |
A regular dodecahedron centered at origin with given radius.
Each face optionally subdivided along edges and/or radius.
|
explicitnoexcept |
| radius | The radius of the enclosing sphere. |
| segments | The number segments along each edge. Should be >= 1. If <1 empty mesh is generated. |
| rings | The number of radial segments on each face. Should be >= 1. If <1 an empty mesh is generated. |
|
noexcept |
|
noexcept |
|
private |
|
private |
|
private |
|
private |