19 #ifndef MESHLOADER_OBJ 20 #define MESHLOADER_OBJ 28 bool load(
const char* fileName);
30 inline const float*
getVerts()
const {
return m_verts; }
31 inline const float*
getNormals()
const {
return m_normals; }
32 inline const int*
getTris()
const {
return m_tris; }
39 void addVertex(
float x,
float y,
float z,
int& cap);
40 void addTriangle(
int a,
int b,
int c,
int& cap);
51 #endif // MESHLOADER_OBJ const char * getFileName() const
const int * getTris() const
const float * getVerts() const
bool load(const char *fileName)
const float * getNormals() const