EHS
Loading...
Searching...
No Matches
ehs::Vertex< T > Class Template Reference

#include <Vertex.h>

Public Member Functions

 Vertex ()=default
 
 Vertex (const Vec3< T > &pos)
 
 Vertex (const Vec3< T > &pos, const Vec3< T > &normal)
 
 Vertex (const Vec3< T > &pos, const Vec3< T > &normal, const Vec2< T > &uv)
 
 Vertex (const Vertex &vert)
 
Vertexoperator= (const Vertex &vert)=default
 

Public Attributes

Vec3< T > pos
 
Vec3< T > normal
 
Vec2< T > uv
 
Vec3< T > tan
 
Vec3< T > bTan
 
Vec4< UInt_8bones
 
Vec4< float > weights
 

Constructor & Destructor Documentation

◆ Vertex() [1/5]

template<typename T = float>
ehs::Vertex< T >::Vertex ( )
default

◆ Vertex() [2/5]

template<typename T = float>
ehs::Vertex< T >::Vertex ( const Vec3< T > & pos)
inline

◆ Vertex() [3/5]

template<typename T = float>
ehs::Vertex< T >::Vertex ( const Vec3< T > & pos,
const Vec3< T > & normal )
inline

◆ Vertex() [4/5]

template<typename T = float>
ehs::Vertex< T >::Vertex ( const Vec3< T > & pos,
const Vec3< T > & normal,
const Vec2< T > & uv )
inline

◆ Vertex() [5/5]

template<typename T = float>
ehs::Vertex< T >::Vertex ( const Vertex< T > & vert)
inline

Member Function Documentation

◆ operator=()

template<typename T = float>
Vertex & ehs::Vertex< T >::operator= ( const Vertex< T > & vert)
default

Member Data Documentation

◆ bones

template<typename T = float>
Vec4<UInt_8> ehs::Vertex< T >::bones

◆ bTan

template<typename T = float>
Vec3<T> ehs::Vertex< T >::bTan

◆ normal

template<typename T = float>
Vec3<T> ehs::Vertex< T >::normal

◆ pos

template<typename T = float>
Vec3<T> ehs::Vertex< T >::pos

◆ tan

template<typename T = float>
Vec3<T> ehs::Vertex< T >::tan

◆ uv

template<typename T = float>
Vec2<T> ehs::Vertex< T >::uv

◆ weights

template<typename T = float>
Vec4<float> ehs::Vertex< T >::weights

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