Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::path_vertex_t Class Reference

#include <path_vertex.hpp>

Public Member Functions

 path_vertex_t ()
 
gml::dvec3 binormal () const noexcept
 

Public Attributes

gml::dvec3 normal
 
gml::dvec3 position
 
gml::dvec3 tangent
 
double tex_coord
 

Detailed Description

Definition at line 9 of file path_vertex.hpp.

Constructor & Destructor Documentation

◆ path_vertex_t()

generator::path_vertex_t::path_vertex_t ( )
inline

Definition at line 24 of file path_vertex.hpp.

Member Function Documentation

◆ binormal()

gml::dvec3 generator::path_vertex_t::binormal ( ) const
inlinenoexcept

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

Definition at line 31 of file path_vertex.hpp.

Member Data Documentation

◆ normal

gml::dvec3 generator::path_vertex_t::normal

Unit length vector perpendicular to the path at this point. Also the x-axis of the path coordinate system at this point.

Definition at line 14 of file path_vertex.hpp.

◆ position

gml::dvec3 generator::path_vertex_t::position

Definition at line 16 of file path_vertex.hpp.

◆ tangent

gml::dvec3 generator::path_vertex_t::tangent

Unit length vector parallel to the path at this point. Also the z-axis of the path at this point.

Definition at line 20 of file path_vertex.hpp.

◆ tex_coord

double generator::path_vertex_t::tex_coord

Definition at line 22 of file path_vertex.hpp.


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