|
CeresEngine 0.2.0
A game development framework
|
A point on a path. More...
#include <CeresEngine/Mesh/Generator/ShapeVertex.hpp>
Public Member Functions | |
| ShapeVertex () | |
| Vector2 | normal () const noexcept |
| Returns the tangent rotated 90 dec clockwise. | |
Public Attributes | |
| Vector2 | position |
| Vector2 | tangent |
| Unit length vector parallel to the shape at this point. | |
| double | texCoord |
A point on a path.
Position and assosiated coordinate system.
|
inline |
|
inlinenoexcept |
Returns the tangent rotated 90 dec clockwise.
Also the x-axis of the shape's local coordinate system.
| Vector2 CeresEngine::MeshGenerator::ShapeVertex::position |
| Vector2 CeresEngine::MeshGenerator::ShapeVertex::tangent |
Unit length vector parallel to the shape at this point.
Also the y-axis of the shape's local coordinate system.
| double CeresEngine::MeshGenerator::ShapeVertex::texCoord |