#include <spring_mesh.hpp>
A spring aligned along the z-axis winding counterclockwise
Definition at line 13 of file spring_mesh.hpp.
◆ triangles_t
◆ vertices_t
◆ spring_mesh_t()
spring_mesh_t::spring_mesh_t |
( |
double | minor = 0.25, |
|
|
double | major = 1.0, |
|
|
double | size = 1.0, |
|
|
int | slices = 8, |
|
|
int | segments = 32, |
|
|
double | minorStart = 0.0, |
|
|
double | minorSweep = gml::radians(360.0), |
|
|
double | majorStart = 0.0, |
|
|
double | majorSweep = gml::radians(720.0) ) |
- Parameters
-
minor | Radius of the spring it self. |
major | Radius from the z-axis |
size | Half of the length along the z-axis. |
slices | Subdivisions around the spring. |
segments | Subdivisions along the path. |
majorStart | Counterclockwise angle around the z-axis relative to the x-axis. |
majorSweep | Counterclockwise angle arounf the z-axis. |
Definition at line 5 of file spring_mesh.cpp.
◆ triangles()
triangles_t generator::spring_mesh_t::triangles |
( |
| ) |
const |
|
inlinenoexcept |
◆ vertices()
vertices_t generator::spring_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/spring_mesh.hpp
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/spring_mesh.cpp