Unravel Engine C++ Reference
|
#include <dodecahedron_mesh.hpp>
Classes | |
class | triangles_t |
class | vertices_t |
Public Member Functions | |
dodecahedron_mesh_t (double radius=1.0, int segments=1, int rings=1) noexcept | |
triangles_t | triangles () const noexcept |
vertices_t | vertices () const noexcept |
A regular dodecahedron centered at origin with given radius. Each face optionally subdivided along edges and/or radius.
Definition at line 18 of file dodecahedron_mesh.hpp.
|
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. |
Definition at line 145 of file dodecahedron_mesh.cpp.
|
noexcept |
Definition at line 153 of file dodecahedron_mesh.cpp.
|
noexcept |
Definition at line 158 of file dodecahedron_mesh.cpp.