Cafu Engine
cf::math::BezierPatchT< T >::VertexT Struct Reference

Represents a single vertex. More...

#include "BezierPatch.hpp"

Public Member Functions

void Average (const VertexT &A, const VertexT &B)
 Computes the values of this vertex as the average of the given vertices A and B. More...
 

Public Attributes

Vector3T< T > Coord
 Vertex coordinate. More...
 
Vector3T< T > TexCoord
 Vertex texture coordinates. More...
 
Vector3T< T > Normal
 Vertex normal. More...
 
Vector3T< T > TangentS
 DOCTODO. More...
 
Vector3T< T > TangentT
 DOCTODO. More...
 

Detailed Description

template<class T>
struct cf::math::BezierPatchT< T >::VertexT

Represents a single vertex.

Member Function Documentation

template<class T>
void BezierPatchT::VertexT::Average ( const VertexT A,
const VertexT B 
)

Computes the values of this vertex as the average of the given vertices A and B.

Member Data Documentation

template<class T>
Vector3T<T> cf::math::BezierPatchT< T >::VertexT::Coord

Vertex coordinate.

template<class T>
Vector3T<T> cf::math::BezierPatchT< T >::VertexT::Normal

Vertex normal.

template<class T>
Vector3T<T> cf::math::BezierPatchT< T >::VertexT::TangentS

DOCTODO.

template<class T>
Vector3T<T> cf::math::BezierPatchT< T >::VertexT::TangentT

DOCTODO.

template<class T>
Vector3T<T> cf::math::BezierPatchT< T >::VertexT::TexCoord

Vertex texture coordinates.


The documentation for this struct was generated from the following files: