The Utah Teapot.
More...
#include <CeresEngine/Mesh/Generator/TeapotMesh.hpp>
◆ TeapotMesh()
| CeresEngine::MeshGenerator::TeapotMesh::TeapotMesh |
( |
int |
segments = 8 | ) |
|
|
explicitnoexcept |
Generates the Utah teapot using the original data.
The lid is pointing towards the z axis and the spout towards the x axis.
- Parameters
-
| segments | The number segments along each patch. Should be >= 1. If zero empty mesh is generated. |
◆ triangles()
| Triangles CeresEngine::MeshGenerator::TeapotMesh::triangles |
( |
| ) |
const |
|
noexcept |
◆ vertices()
| Vertices CeresEngine::MeshGenerator::TeapotMesh::vertices |
( |
| ) |
const |
|
noexcept |
◆ mPatchVertexCount
| int CeresEngine::MeshGenerator::TeapotMesh::mPatchVertexCount |
|
private |
◆ mSegments
| int CeresEngine::MeshGenerator::TeapotMesh::mSegments |
|
private |
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Mesh/Generator/TeapotMesh.hpp