19 #ifndef MESHLOADER_OBJ
20 #define MESHLOADER_OBJ
30 bool load(
const std::string& fileName);
32 const float*
getVerts()
const {
return m_verts; }
34 const int*
getTris()
const {
return m_tris; }
44 void addVertex(
float x,
float y,
float z,
int& cap);
45 void addTriangle(
int a,
int b,
int c,
int& cap);
47 std::string m_filename;
Definition: MeshLoaderObj.h:25
int getVertCount() const
Definition: MeshLoaderObj.h:35
int getTriCount() const
Definition: MeshLoaderObj.h:36
const int * getTris() const
Definition: MeshLoaderObj.h:34
const std::string & getFileName() const
Definition: MeshLoaderObj.h:37
~rcMeshLoaderObj()
Definition: MeshLoaderObj.cpp:35
bool load(const std::string &fileName)
Definition: MeshLoaderObj.cpp:138
const float * getNormals() const
Definition: MeshLoaderObj.h:33
const float * getVerts() const
Definition: MeshLoaderObj.h:32
rcMeshLoaderObj()
Definition: MeshLoaderObj.cpp:25