00001 #ifndef TABLE_H 00002 #define TABLE_H 00003 00004 #include "../Common/Constants.h" 00005 #include "GameObject.h" 00006 #include "../Common/Vector.h" 00007 #include <GL/gl.h> 00008 #include <GL/glut.h> 00009 #include "../Engine/TextureManager.h" 00010 #include "../Engine/GraphicDefinitions.h" 00011 00012 class Table: public GameObject 00013 { 00014 private: 00015 TextureManager *textMan; 00016 void drawQuarter(); 00017 void drawLeg(real H, real R, real x, real z); 00018 void drawFrameQuarter(); 00019 public: 00020 Vector position; 00021 Table(Vector tablePosition=Vector(0,0,0)); 00022 void draw(); 00023 void drawShadow(Vector &lightPosition); 00024 00025 00026 }; 00027 00028 #endif