#include <teapot_mesh.hpp>
◆ teapot_mesh_t()
teapot_mesh_t::teapot_mesh_t |
( |
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. |
Definition at line 238 of file teapot_mesh.cpp.
◆ triangles()
◆ vertices()
The documentation for this class was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/teapot_mesh.hpp
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/teapot_mesh.cpp