Like CylinderMesh but with end caps.
More...
#include <CeresEngine/Mesh/Generator/CappedCylinderMesh.hpp>
Like CylinderMesh but with end caps.
◆ Impl
◆ Triangles
◆ Vertices
◆ CappedCylinderMesh()
| CeresEngine::MeshGenerator::CappedCylinderMesh::CappedCylinderMesh |
( |
double |
radius = 1.0, |
|
|
double |
size = 1.0, |
|
|
int |
slices = 32, |
|
|
int |
segments = 8, |
|
|
int |
rings = 4, |
|
|
double |
start = 0.0, |
|
|
double |
sweep = radians(360.0) |
|
) |
| |
- Parameters
-
| radius | Radius of the cylinder along the xy-plane. |
| size | Half of the length cylinder along the z-axis. |
| slices | Number of subdivisions around the z-axis. |
| segments | Number of subdivisions along the z-axis. |
| rings | Number of subdivisions on the caps. |
| start | Counterclockwise angle around the z-axis relative to x-axis. |
| sweep | Counterclockwise angle around the z-axis. |
◆ triangles()
| Triangles CeresEngine::MeshGenerator::CappedCylinderMesh::triangles |
( |
| ) |
const |
|
inlinenoexcept |
◆ vertices()
| Vertices CeresEngine::MeshGenerator::CappedCylinderMesh::vertices |
( |
| ) |
const |
|
inlinenoexcept |
◆ mMergeMesh
| Impl CeresEngine::MeshGenerator::CappedCylinderMesh::mMergeMesh |
|
private |
The documentation for this class was generated from the following file: