Automatic commit. Mon Oct 8 12:00:08 WST 2012
[matches/honours.git] / course / semester2 / pprog / assignment1 / single-thread / graphics.h
index 97ccf47..13a4369 100644 (file)
@@ -9,7 +9,14 @@
  */
 
 #include <GL/gl.h>
+
+#define GLUT
+//#define SDL
+
+#ifdef GLUT
 #include <GL/glut.h>
+#include <GL/freeglut.h>
+#endif //GLUT
 
 #include "nbody.h"
 
@@ -35,6 +42,7 @@ void Graphics_Display(void);
 void Graphics_Keyboard(unsigned char key, int mouse_x, int mouse_y);
 void Graphics_Reshape(int width, int height);
 
+extern double scale;
 
 #define FLYING_CAMERA
 

UCC git Repository :: git.ucc.asn.au