CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MeshGenerator::ShapeVertex Class Reference

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
 

Detailed Description

A point on a path.

Position and assosiated coordinate system.

Constructor & Destructor Documentation

◆ ShapeVertex()

CeresEngine::MeshGenerator::ShapeVertex::ShapeVertex ( )
inline

Member Function Documentation

◆ normal()

Vector2 CeresEngine::MeshGenerator::ShapeVertex::normal ( ) const
inlinenoexcept

Returns the tangent rotated 90 dec clockwise.

Also the x-axis of the shape's local coordinate system.

Member Data Documentation

◆ position

Vector2 CeresEngine::MeshGenerator::ShapeVertex::position

◆ tangent

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.

◆ texCoord

double CeresEngine::MeshGenerator::ShapeVertex::texCoord

The documentation for this class was generated from the following file: