Cafu Engine
LoaderAseT::GeomObjectT::TriangleT Struct Reference

A single triangle. More...

#include "Loader_ase.hpp"

Public Member Functions

 TriangleT ()
 Constructor. More...
 

Public Attributes

unsigned long IndVertices [3]
 Indices into the Vertices array. More...
 
unsigned long IndTexCoords [3]
 Indices into the TexCoords array. More...
 
ArrayT< unsigned long > SmoothGroups
 The SmoothGroups this triangle is in. More...
 
uint32_t SmoothGrps
 The smoothing groups that this triangle is in: If bit i is set, the triangle is in smoothing group i. More...
 
VectorT Normal
 The geometric per-triangle normal. More...
 
VectorT Normals [3]
 The smoothgroup normals for the three vertices. More...
 
VectorT Tangents [3]
 The smoothgroup tangents for the three vertices. More...
 
VectorT BiNormals [3]
 The smoothgroup binormals for the three vertices. More...
 

Detailed Description

A single triangle.

Constructor & Destructor Documentation

LoaderAseT::GeomObjectT::TriangleT::TriangleT ( )
inline

Constructor.

Member Data Documentation

VectorT LoaderAseT::GeomObjectT::TriangleT::BiNormals[3]

The smoothgroup binormals for the three vertices.

unsigned long LoaderAseT::GeomObjectT::TriangleT::IndTexCoords[3]

Indices into the TexCoords array.

unsigned long LoaderAseT::GeomObjectT::TriangleT::IndVertices[3]

Indices into the Vertices array.

VectorT LoaderAseT::GeomObjectT::TriangleT::Normal

The geometric per-triangle normal.

VectorT LoaderAseT::GeomObjectT::TriangleT::Normals[3]

The smoothgroup normals for the three vertices.

ArrayT<unsigned long> LoaderAseT::GeomObjectT::TriangleT::SmoothGroups

The SmoothGroups this triangle is in.

uint32_t LoaderAseT::GeomObjectT::TriangleT::SmoothGrps

The smoothing groups that this triangle is in: If bit i is set, the triangle is in smoothing group i.

VectorT LoaderAseT::GeomObjectT::TriangleT::Tangents[3]

The smoothgroup tangents for the three vertices.


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