1 /* 2 * This code is released under the GNU General Public License. See COPYING for 3 * details. Copyright 2003 John Spray: spray_john@users.sourceforge.net 4 */ 5 6 7 #include <SDL_opengl.h> 8 #include "Visual.h" 9 10 #ifndef MESH_H 11 #define MESH_H 12 13 class Mesh { 14 public: 15 Mesh(); 16 ~Mesh(); 17 int Load(char*); 18 void Draw(); 19 char filename[128]; 20 char skinname[128]; 21 GLfloat* geom; 22 int vert_count; 23 int gl_array_id; 24 Visual* visual; 25 }; 26 27 #endif 28