(no commit message)
[atyndall/cits2231.git] / globals.h
index 6f6a626..dc92453 100644 (file)
--- a/globals.h
+++ b/globals.h
@@ -53,9 +53,6 @@ extern GLfloat far;
 extern GLfloat nearClip;
 extern GLfloat farClip;
 
-/* Zoom factor for mouse movements */
-extern GLfloat zoomFactor;
-
 /* Recursion level for floor drawing */
 extern int drawFloorRecurse;
 
@@ -86,5 +83,10 @@ extern GLfloat ambient[];
 extern GLfloat diffuse[];
 extern GLfloat specular[];
 
-#endif /* GLOBALS_H */
+/* Beginning width, height */
+extern int width, height;
+
+/* Zoom and rotate tracking */
+GLfloat zoomFactor, rotateFactor;
 
+#endif /* GLOBALS_H */
\ No newline at end of file

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