|
CeresEngine 0.2.0
A game development framework
|
A Circle extruded along a knot path. More...
#include <CeresEngine/Mesh/Generator/TorusKnotMesh.hpp>
Public Types | |
| using | Triangles = typename Impl::Triangles |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| TorusKnotMesh (int p=2, int q=3, int slices=8, int segments=96) | |
| Triangles | triangles () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = ExtrudeMesh< CircleShape, KnotPath > |
Private Attributes | |
| Impl | mExtrudeMesh |
A Circle extruded along a knot path.
| using CeresEngine::MeshGenerator::TorusKnotMesh::Triangles = typename Impl::Triangles |
| using CeresEngine::MeshGenerator::TorusKnotMesh::Vertices = typename Impl::Vertices |
| CeresEngine::MeshGenerator::TorusKnotMesh::TorusKnotMesh | ( | int | p = 2, |
| int | q = 3, |
||
| int | slices = 8, |
||
| int | segments = 96 |
||
| ) |
| slices | Number subdivisions around the circle. |
| segments | Number of subdivisions around the path. |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |