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

#include <CeresEngine/Mesh/Generator/PathVertex.hpp>

Public Member Functions

 PathVertex ()
 
Vector3 binormal () const noexcept
 Returns tangent x normal.
 

Public Attributes

Vector3 normal
 Unit length vector perpendicular to the path at this point.
 
Vector3 position
 
Vector3 tangent
 Unit length vector parallel to the path at this point.
 
double texCoord
 

Constructor & Destructor Documentation

◆ PathVertex()

CeresEngine::MeshGenerator::PathVertex::PathVertex ( )
inline

Member Function Documentation

◆ binormal()

Vector3 CeresEngine::MeshGenerator::PathVertex::binormal ( ) const
inlinenoexcept

Returns tangent x normal.

Also the y-axis of the path coordinate system. See: http://mathworld.wolfram.com/BinormalVector.html

Member Data Documentation

◆ normal

Vector3 CeresEngine::MeshGenerator::PathVertex::normal

Unit length vector perpendicular to the path at this point.

Also the x-axis of the path coordinate system at this point.

◆ position

Vector3 CeresEngine::MeshGenerator::PathVertex::position

◆ tangent

Vector3 CeresEngine::MeshGenerator::PathVertex::tangent

Unit length vector parallel to the path at this point.

Also the z-axis of the path at this point.

◆ texCoord

double CeresEngine::MeshGenerator::PathVertex::texCoord

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