|
Unravel Engine C++ Reference
|
#include <disk_mesh.hpp>
Public Types | |
| using | triangles_t = typename impl_t::triangles_t |
| using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
| disk_mesh_t (double radius=1.0, double innerRadius=0.0, int slices=32, int rings=4, double start=0.0, double sweep=gml::radians(360.0)) | |
| triangles_t | triangles () const noexcept |
| vertices_t | vertices () const noexcept |
| using generator::disk_mesh_t::triangles_t = typename impl_t::triangles_t |
Definition at line 33 of file disk_mesh.hpp.
| using generator::disk_mesh_t::vertices_t = typename impl_t::vertices_t |
Definition at line 40 of file disk_mesh.hpp.
| disk_mesh_t::disk_mesh_t | ( | double | radius = 1.0, |
| double | innerRadius = 0.0, | ||
| int | slices = 32, | ||
| int | rings = 4, | ||
| double | start = 0.0, | ||
| double | sweep = gml::radians(360.0) ) |
| radius | Outer radius of the disk on the xy-plane. |
| innerRadius | radius of the inner circle on the xy-plane. |
| slices | Number of subdivisions around the z-axis. |
| rings | Number of subdivisions along the radius. |
| start | Counterclockwise angle relative to the x-axis |
| sweep | Counterclockwise angle. |
Definition at line 5 of file disk_mesh.cpp.
|
inlinenoexcept |
Definition at line 35 of file disk_mesh.hpp.
|
inlinenoexcept |
Definition at line 42 of file disk_mesh.hpp.