A polygonal disk with arbitrary number of corners.
Definition ConvexPolygonMesh.hpp:21
Definition DodecahedronMesh.hpp:26
TriangleGeneratorType< ConvexPolygonMesh >::Type mTriangles
Definition DodecahedronMesh.hpp:40
UInt32 mFaceIndex
Definition DodecahedronMesh.hpp:34
bool done() const noexcept
Triangle generate() const
const DodecahedronMesh * mMesh
Definition DodecahedronMesh.hpp:33
SPtr< const ConvexPolygonMesh > mFaceMesh
Definition DodecahedronMesh.hpp:38
Definition DodecahedronMesh.hpp:47
bool done() const noexcept
A regular dodecahedron centered at origin with given radius.
Definition DodecahedronMesh.hpp:24
double mRadius
Definition DodecahedronMesh.hpp:68
Triangles triangles() const noexcept
int mSegments
Definition DodecahedronMesh.hpp:69
Vertices vertices() const noexcept
int mFaceVertexCount
Definition DodecahedronMesh.hpp:71
int mRings
Definition DodecahedronMesh.hpp:70
Definition MeshVertex.hpp:14
Will have a type named "Type" that has same type as value returned by method triangles() for type Pri...
Definition Utility.hpp:30
Definition Triangle.hpp:14
Will have a type named "Type" that has same type as value returned by method vertices() for type Prim...
Definition Utility.hpp:37
Represents a reflected C++ type. Can be used to get metadata from a C++ type.
Definition Type.hpp:32
Definition AnyGenerator.hpp:12
std::shared_ptr< T > SPtr
SPtr is a smart pointer that retains shared ownership of an object through a pointer.
Definition SmartPtr.hpp:37
std::uint32_t UInt32
Definition DataTypes.hpp:23
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25