|
CeresEngine 0.2.0
A game development framework
|
A shape with values evaluated using a callback function. More...
#include <CeresEngine/Mesh/Generator/ParametricShape.hpp>
Classes | |
| class | Edges |
| class | Vertices |
Public Member Functions | |
| ParametricShape (Function< ShapeVertex(double) const > eval, int segments=16) noexcept | |
| Edges | edges () const noexcept |
| Vertices | vertices () const noexcept |
Private Attributes | |
| Function< ShapeVertex(double) const > | mEval |
| int | mSegments |
| double | mDelta |
A shape with values evaluated using a callback function.
|
explicitnoexcept |
| eval | A callback that returns a ShapeVertex for a given value. |
| segments | The number of segments along the shape. Should be >= 1. Zero yields an empty shape. |
|
noexcept |
|
noexcept |
|
private |
|
private |
|
private |