|
CeresEngine 0.2.0
A game development framework
|
Converts a Shape to a Path. More...
#include <CeresEngine/Mesh/Generator/ShapeToPath.hpp>
Classes | |
| class | Vertices |
Public Types | |
| using | Edges = typename Impl::Edges |
Public Member Functions | |
| ShapeToPath (Shape shape) | |
| Edges | edges () const noexcept |
| Vertices | vertices () const |
Private Types | |
| using | Impl = Shape |
Private Attributes | |
| Impl | mShape |
Converts a Shape to a Path.
The shape position coordinates are used as the x and y and 0 is used as z. Shape tangent becomes the path tangent and z-axis becomes normal vector and thus the shape normal becomes the path binormal.
| using CeresEngine::MeshGenerator::ShapeToPath< Shape >::Edges = typename Impl::Edges |
|
private |
|
inline |
|
inlinenoexcept |
|
inline |
|
private |