|
CeresEngine 0.2.0
A game development framework
|
A line from a point to a point. More...
#include <CeresEngine/Mesh/Generator/LineShape.hpp>
Public Types | |
| using | Edges = typename Impl::Edges |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| LineShape (const Vector2 &start={0.0, -1.0}, const Vector2 &end={0.0, 1.0}, int segments=8) | |
| Edges | edges () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = ParametricShape |
Private Attributes | |
| Impl | mParametricShape |
A line from a point to a point.
| CeresEngine::MeshGenerator::LineShape::LineShape | ( | const Vector2 & | start = {0.0, -1.0}, |
| const Vector2 & | end = {0.0, 1.0}, |
||
| int | segments = 8 |
||
| ) |
| start | Start position |
| end | End position |
| segments | Number of subdivisions |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |