home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 March / ENTER.ISO / files / fwp-0.0.6-win32-installer.exe / Face.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-12-06  |  542 b   |  41 lines

  1. #ifndef __Face_h__
  2. #define __Face_h__
  3.  
  4. #include "Material.h"
  5.  
  6. class Mesh;
  7.  
  8. class Face{
  9. public:
  10.     Mesh* mesh;
  11.     Material* material;
  12.  
  13.     GLfloat* vertices;
  14.     GLfloat* colors;
  15.     GLfloat* normals;
  16.     GLfloat* texCoords1;
  17.     GLfloat* texCoords2;
  18.     GLuint* indices;
  19.  
  20.     int indIndex;
  21.     int numVertices;
  22.     int numColors;
  23.     int numNormals;
  24.     int numTexCoords;
  25.     int numIndices;
  26.  
  27.     GLfloat normal[3];
  28.  
  29. //    unsigned short flags;
  30.  
  31.     Face();
  32.     ~Face();
  33.     void clearFace();
  34.     void calcNormal();
  35.  
  36.     void dump();
  37. };
  38.  
  39. #endif    /* __Face_h__ */
  40.  
  41.