|
CeresEngine 0.2.0
A game development framework
|
Icosphere aka spherical subdivided icosahedron. More...
#include <CeresEngine/Mesh/Generator/IcoSphereMesh.hpp>
Public Types | |
| using | Triangles = typename Impl::Triangles |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| IcoSphereMesh (double radius=1.0, int segments=4) | |
| Triangles | triangles () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = SpherifyMesh< IcosahedronMesh > |
Private Attributes | |
| Impl | mSpherifyMesh |
Icosphere aka spherical subdivided icosahedron.
| radius | The radius of the containing sphere. |
| segments | The number of segments per icosahedron edge. Must be >= 1. |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |