#ifndef __MESH_MODEL_H__ #define __MESH_MODEL_H__ class CLoad3DS; class t3DModel; class MeshModel { public: MeshModel(); ~MeshModel(); bool Init(char *filename); void Render(float scale) const; void Render() const; /* view mode can be either GL_TRIANGLES or GL_LINES */ void SetViewmode(int view) {_Viewmode = view;}; private: CLoad3DS* _Load3ds; // This is 3DS class. This should go in a good model class. t3DModel* _3DModel; // This holds the 3D Model info that we load in int _Viewmode; int _DisplayList; }; #endif // __MESH_MODEL_H__