00001 #ifndef OUTPUTOPENGL__H_ 00002 #define OUTPUTOPENGL__H_ 00003 00004 #define X 0 00005 #define Y 1 00006 #define Z 2 00007 00008 #define PI 3.14159 00009 00010 void DrawHand( ); 00011 void DrawMatrix(float size, float number); 00012 00013 float campos[3] = { 0.0, 15.0, 500.0 }; 00014 float lookto[3] = { 0.0, 0.0, 0.0 }; 00015 float upvect[3] = { 0.0, 1.0, 0.0 }; 00016 float lookdir[3] = { 0.0, 0.0, 1.0 }; 00017 00018 int NeedRedraw = 0; 00019 int framecounter = 0; 00020 00021 int WINDOWX = 800 00022 ,WINDOWY = 600; 00023 00024 float speed = 1.0 / 5.0; 00025 float speednr = 5.0; 00026 00027 void display (void); 00028 void init (void); 00029 void reshape (int x, int y); 00030 void idlefunc(); 00031 00032 void IntToString(int x, char text[]); 00033 void printstring(void *font, char *string); 00034 void DrawStat(void); 00035 00036 #endif // OUTPUTOPENGL__H_