home *** CD-ROM | disk | FTP | other *** search
- #ifndef __Face_h__
- #define __Face_h__
-
- #include "Material.h"
-
- class Mesh;
-
- class Face{
- public:
- Mesh* mesh;
- Material* material;
-
- GLfloat* vertices;
- GLfloat* colors;
- GLfloat* normals;
- GLfloat* texCoords1;
- GLfloat* texCoords2;
- GLuint* indices;
-
- int indIndex;
- int numVertices;
- int numColors;
- int numNormals;
- int numTexCoords;
- int numIndices;
-
- GLfloat normal[3];
-
- // unsigned short flags;
-
- Face();
- ~Face();
- void clearFace();
- void calcNormal();
-
- void dump();
- };
-
- #endif /* __Face_h__ */
-
-