t
Loading...
Searching...
No Matches
t::UtahTeapot Class Reference

The geometry of the original Utah teapot, triangulated at 3488 triangles. More...

#include <UtahTeapot.hpp>

Inheritance diagram for t::UtahTeapot:
t::Geometry

Public Member Functions

 UtahTeapot ()
 Creates a new original Utah teapot geometry.
 
- Public Member Functions inherited from t::Geometry
 Geometry (const BufferAttribute< double > &_vertexPositions, const BufferAttribute< double > &_vertexNormals)
 Creates a new 3D geometry with the specified vertex buffer and normal buffer.
 
void setIndices (BufferAttribute< int > _faceIndices)
 Sets the index buffer of this geometry.
 

Additional Inherited Members

- Public Attributes inherited from t::Geometry
BufferAttribute< double > vertexPositions
 The vertex buffer.
 
std::optional< BufferAttribute< int > > faceIndices
 The index buffer, which is optional.
 
BufferAttribute< double > vertexNormals
 The normal buffer.
 
FrontFace frontFace
 The vertex winding order which classifies the front face of a triangle.
 

Detailed Description

The geometry of the original Utah teapot, triangulated at 3488 triangles.

Note that the original Utah teapot has no bottom. The data was taken from the official Utah Model Repository.


The documentation for this class was generated from the following file: