(no commit message)
[atyndall/cits2231.git] / globals.h
index e85ea25..728bf6a 100644 (file)
--- a/globals.h
+++ b/globals.h
@@ -45,10 +45,14 @@ extern float lightAngle, lightHeight;
 extern GLfloat angle;
 extern GLfloat angle2;
 
 extern GLfloat angle;
 extern GLfloat angle2;
 
-/* Near and far parameters */
+/* Near and far parameters - calculates scene size */
 extern GLfloat near;
 extern GLfloat far;
 
 extern GLfloat near;
 extern GLfloat far;
 
+/* Near and far clipping planes - calculates clipping planes */
+extern GLfloat nearClip;
+extern GLfloat farClip;
+
 /* Zoom factor for mouse movements */
 extern GLfloat zoomFactor;
 
 /* Zoom factor for mouse movements */
 extern GLfloat zoomFactor;
 
@@ -58,6 +62,9 @@ extern int drawFloorRecurse;
 /* Size of floor, from -n to n */
 extern int floorSize;
 
 /* Size of floor, from -n to n */
 extern int floorSize;
 
+/* Current camera position */
+extern GLfloat camx, camy, camz, rot;
+
 /* Light 0 parameters */
 extern GLfloat diffuse0[];
 extern GLfloat ambient0[];
 /* Light 0 parameters */
 extern GLfloat diffuse0[];
 extern GLfloat ambient0[];

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