Unravel Engine C++ Reference
|
#include <cone_mesh.hpp>
Public Types | |
using | triangles_t = typename impl_t::triangles_t |
using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
cone_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)) | |
triangles_t | triangles () const noexcept |
vertices_t | vertices () const noexcept |
using generator::cone_mesh_t::triangles_t = typename impl_t::triangles_t |
Definition at line 34 of file cone_mesh.hpp.
using generator::cone_mesh_t::vertices_t = typename impl_t::vertices_t |
Definition at line 41 of file cone_mesh.hpp.
cone_mesh_t::cone_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) ) |
radius | Radius of the negative z end on 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 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 cone_mesh.cpp.
|
inlinenoexcept |
Definition at line 36 of file cone_mesh.hpp.
|
inlinenoexcept |
Definition at line 43 of file cone_mesh.hpp.