|
CeresEngine 0.2.0
A game development framework
|
A path from point to point. More...
#include <CeresEngine/Mesh/Generator/LinePath.hpp>
Public Types | |
| using | Edges = typename Impl::Edges |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| LinePath (const Vector3 &start={0.0, 0.0, -1.0}, const Vector3 &end={0.0, 0.0, 1.0}, const Vector3 &normal={1.0, 0.0, 0.0}, int segments=8) | |
| Edges | edges () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = ParametricPath |
Private Attributes | |
| Impl | mParametricPath |
A path from point to point.
| CeresEngine::MeshGenerator::LinePath::LinePath | ( | const Vector3 & | start = {0.0, 0.0, -1.0}, |
| const Vector3 & | end = {0.0, 0.0, 1.0}, |
||
| const Vector3 & | normal = {1.0, 0.0, 0.0}, |
||
| int | segments = 8 |
||
| ) |
| start | Start point of the line. |
| end | End point of the line. |
| normal | Line normal. Should be parallel to the line. |
| segments | Number of subdivisions along the line. |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |