|
CeresEngine 0.2.0
A game development framework
|
A helix cented at origin aligned along the z-axis. More...
#include <CeresEngine/Mesh/Generator/HelixPath.hpp>
Public Types | |
| using | Edges = typename Impl::Edges |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| HelixPath (double radius=1.0, double size=1.0, int segments=32, double start=0.0, double sweep=radians(720.0)) | |
| Edges | edges () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = ParametricPath |
Private Attributes | |
| Impl | mParametricPath |
A helix cented at origin aligned along the z-axis.
| CeresEngine::MeshGenerator::HelixPath::HelixPath | ( | double | radius = 1.0, |
| double | size = 1.0, |
||
| int | segments = 32, |
||
| double | start = 0.0, |
||
| double | sweep = radians(720.0) |
||
| ) |
| radius | Radius from the z-axis |
| size | Half of the length along the z-axis. |
| segments | Number of subdivisions along the path. |
| start | Counterclockwise angle around the z-axis relative to the x-axis. |
| sweep | Counterclockwise angle around the z-axis. |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |