|
Unravel Engine C++ Reference
|
#include <spherical_cone_mesh.hpp>
Public Types | |
| using | triangles_t = typename impl_t::triangles_t |
| using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
| spherical_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)) | |
| triangles_t | triangles () const noexcept |
| vertices_t | vertices () const noexcept |
A cone with a spherical cap centered at origin tip pointing towards z-axis. Each point on the cap has equal distance from the tip.
Definition at line 16 of file spherical_cone_mesh.hpp.
| using generator::spherical_cone_mesh_t::triangles_t = typename impl_t::triangles_t |
Definition at line 38 of file spherical_cone_mesh.hpp.
| using generator::spherical_cone_mesh_t::vertices_t = typename impl_t::vertices_t |
Definition at line 45 of file spherical_cone_mesh.hpp.
| spherical_cone_mesh_t::spherical_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) ) |
| radius | Radius of the negative z end on the xy-plane. |
| size | Half of the distance between cap and tip along the z-axis. |
| slices | Number of subdivisions around the z-axis. |
| segments | Number subdivisions along the z-axis. |
| rings | Number subdivisions in 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 14 of file spherical_cone_mesh.cpp.
|
inlinenoexcept |
Definition at line 40 of file spherical_cone_mesh.hpp.
|
inlinenoexcept |
Definition at line 47 of file spherical_cone_mesh.hpp.