#include <capped_cone_mesh.hpp >
A cone with a cap centered at origin pointing towards positive z-axis.
Definition at line 16 of file capped_cone_mesh.hpp .
◆ triangles_t
◆ vertices_t
◆ capped_cone_mesh_t()
capped_cone_mesh_t::capped_cone_mesh_t
(
double radius = 1.0 ,
double size = 1.0 ,
int slices = 32 ,
int segments = 8 ,
int rings = 4 ,
double start = 0.0 ,
double sweep = gml::radians(360.0) )
Parameters
radius Radius of the flat (negative z) end along the xy-plane.
size Half of the length of the 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 of the cap.
start Counterclockwise angle around the z-axis relative to the positive x-axis.
sweep Counterclockwise angle around the z-axis.
Definition at line 5 of file capped_cone_mesh.cpp .
◆ triangles()
triangles_t generator::capped_cone_mesh_t::triangles
(
)
const
inline noexcept
◆ vertices()
vertices_t generator::capped_cone_mesh_t::vertices
(
)
const
inline noexcept
The documentation for this class was generated from the following files:
C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/capped_cone_mesh.hpp
C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/capped_cone_mesh.cpp