|
CeresEngine 0.2.0
A game development framework
|
Path generated by evaluating callback functions at even intervals. More...
#include <CeresEngine/Mesh/Generator/ParametricPath.hpp>
Classes | |
| class | Edges |
| class | Vertices |
Public Member Functions | |
| ParametricPath (Function< PathVertex(double) const > eval, int segments=16) noexcept | |
| Edges | edges () const noexcept |
| Vertices | vertices () const noexcept |
Private Attributes | |
| Function< PathVertex(double) const > | mEval |
| int | mSegments |
| double | mDelta |
Path generated by evaluating callback functions at even intervals.
|
explicitnoexcept |
| eval | A callback that should return a PathVertex for a given value. |
| segments | The number of segments along the path. Should be >= 1. Zero yields an empry path. |
|
noexcept |
|
noexcept |
|
private |
|
private |
|
private |