vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
wavefront.h
Go to the documentation of this file.
1 #ifndef WAVEFRONT_OBJ_H
2 
3 
4 #define WAVEFRONT_OBJ_H
5 
6 
8 {
9 public:
10 
11  WavefrontObj(void);
12  ~WavefrontObj(void);
13 
14  unsigned int loadObj(const char *fname, bool textured); // load a wavefront obj returns number of triangles that were loaded. Data is persists until the class is destructed.
15 
17  int mTriCount;
18  int *mIndices;
19  float *mVertices;
20  float *mTexCoords;
21 };
22 
23 #endif