NGL  6.5
The NCCA Graphics Library
ngl::Face Class Reference

simple class used to encapsulate a single face of an abstract mesh file More...

#include <AbstractMesh.h>

+ Collaboration diagram for ngl::Face:

Public Attributes

unsigned int m_numVerts
 the number of vertices in the face More...
 
std::vector< uint32_tm_vert
 The vertices index. More...
 
std::vector< uint32_tm_tex
 The texture co-ord index. More...
 
std::vector< uint32_tm_norm
 the normal index More...
 
bool m_textureCoord
 debug flag to turn face on and off More...
 
bool m_normals
 

Detailed Description

simple class used to encapsulate a single face of an abstract mesh file

Todo:
add the ability to have user installable attribute lists

Definition at line 42 of file AbstractMesh.h.

Member Data Documentation

std::vector<uint32_t> ngl::Face::m_norm

the normal index

Definition at line 60 of file AbstractMesh.h.

bool ngl::Face::m_normals

Definition at line 65 of file AbstractMesh.h.

unsigned int ngl::Face::m_numVerts

the number of vertices in the face

Definition at line 48 of file AbstractMesh.h.

std::vector<uint32_t> ngl::Face::m_tex

The texture co-ord index.

Definition at line 56 of file AbstractMesh.h.

bool ngl::Face::m_textureCoord

debug flag to turn face on and off

Definition at line 64 of file AbstractMesh.h.

std::vector<uint32_t> ngl::Face::m_vert

The vertices index.

Definition at line 52 of file AbstractMesh.h.


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