|
Unravel Engine C++ Reference
|
#include <teapot_mesh.hpp>
Classes | |
| class | triangles_t |
| class | vertices_t |
Public Member Functions | |
| teapot_mesh_t (int segments=8) noexcept | |
| triangles_t | triangles () const noexcept |
| vertices_t | vertices () const noexcept |
The Utah Teapot. https://en.wikipedia.org/wiki/Utah_teapot
Definition at line 18 of file teapot_mesh.hpp.
|
explicitnoexcept |
Generates the Utah teapot using the original data. The lid is pointing towards the z axis and the spout towards the x axis.
| 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.
|
noexcept |
Definition at line 244 of file teapot_mesh.cpp.
|
noexcept |
Definition at line 249 of file teapot_mesh.cpp.