#include <cylinder_mesh.hpp>
Cylinder centered at origin aligned along the z-axis.
Definition at line 14 of file cylinder_mesh.hpp.
◆ triangles_t
◆ vertices_t
◆ cylinder_mesh_t()
cylinder_mesh_t::cylinder_mesh_t |
( |
double | radius = 1.0, |
|
|
double | size = 1.0, |
|
|
int | slices = 32, |
|
|
int | segments = 8, |
|
|
double | start = 0.0, |
|
|
double | sweep = gml::radians(360.0) ) |
- Parameters
-
radius | Radius of the cylinder along the xy-plane. |
size | Half of the length of the cylinder along the z-axis. |
slices | Subdivisions around the z-axis. |
segments | Subdivisions along the z-axis. |
start | Counterclockwise angle around the z-axis relative to the x-axis. |
sweep | Counterclockwise angle around the z-axis. |
Definition at line 5 of file cylinder_mesh.cpp.
◆ triangles()
triangles_t generator::cylinder_mesh_t::triangles |
( |
| ) |
const |
|
inlinenoexcept |
◆ vertices()
vertices_t generator::cylinder_mesh_t::vertices |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/cylinder_mesh.hpp
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/cylinder_mesh.cpp