git.ucc.asn.au
/
atyndall
/
cits2231.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[atyndall/cits2231.git]
/
globals.h
diff --git
a/globals.h
b/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