|
CeresEngine 0.2.0
A game development framework
|
A bezier curve with D control points. More...
#include <CeresEngine/Mesh/Generator/BezierShape.hpp>
Classes | |
| struct | ArrayWrapper |
Public Types | |
| using | Edges = typename Impl::Edges |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| BezierShape (const Vector2(&p)[D], int segments=16) | |
| Edges | edges () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = ParametricShape |
Private Member Functions | |
| BezierShape (const ArrayWrapper &p, int segments) | |
Private Attributes | |
| Impl | mParametricShape |
A bezier curve with D control points.
| D | Number of control points. 4 = cubic curve. Must be > 1. |
| using CeresEngine::MeshGenerator::BezierShape< D >::Edges = typename Impl::Edges |
|
private |
| using CeresEngine::MeshGenerator::BezierShape< D >::Vertices = typename Impl::Vertices |
|
inlineexplicitprivate |
|
inlineexplicit |
| p | Control points |
| segments | Number of subdivisions |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |