A bezier patch with D0xD1 control points.
Definition BezierMesh.hpp:21
Definition MeshVertex.hpp:14
Definition TeapotMesh.hpp:26
int mIndex
Definition TeapotMesh.hpp:34
Triangle generate() const
const TeapotMesh * mMesh
Definition TeapotMesh.hpp:33
bool done() const noexcept
TriangleGeneratorType< BezierMesh< 4, 4 > >::Type mTriangles
Definition TeapotMesh.hpp:37
SPtr< const BezierMesh< 4, 4 > > mPatchMesh
Definition TeapotMesh.hpp:35
Definition TeapotMesh.hpp:44
bool done() const noexcept
The Utah Teapot.
Definition TeapotMesh.hpp:24
int mPatchVertexCount
Definition TeapotMesh.hpp:78
Triangles triangles() const noexcept
int mSegments
Definition TeapotMesh.hpp:76
Vertices vertices() const noexcept
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
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25