|
CeresEngine 0.2.0
A game development framework
|
A bezier patch with D0xD1 control points. More...
#include <CeresEngine/Mesh/Generator/BezierMesh.hpp>
Classes | |
| struct | ArrayWrapper |
Public Types | |
| using | Triangles = typename Impl::Triangles |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| BezierMesh (const Vector3(&p)[D1][D0], const Vector2i &segments={16, 16}) | |
| Triangles | triangles () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = ParametricMesh |
Private Member Functions | |
| BezierMesh (const ArrayWrapper &p, const Vector2i &segments) | |
Private Attributes | |
| Impl | mParametricMesh |
A bezier patch with D0xD1 control points.
| D0 | Number of control points along the t[0] axis. Must be > 1. |
| D1 | Number of control points along the t[1] axis. Must be > 1. |
|
private |
| using CeresEngine::MeshGenerator::BezierMesh< D0, D1 >::Triangles = typename Impl::Triangles |
| using CeresEngine::MeshGenerator::BezierMesh< D0, D1 >::Vertices = typename Impl::Vertices |
|
inlineexplicitprivate |
|
inlineexplicit |
| p | Control points |
| segments | Number of subdivisions along each axis |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |