(no commit message)
[atyndall/cits2231.git] / globals.h
index 5dd4300..f2cdd0d 100644 (file)
--- a/globals.h
+++ b/globals.h
 #define NTEXTURE 30     // The number of textures (in the models-textures dir)
 #define MAXOBJECTS 256
 
 #define NTEXTURE 30     // The number of textures (in the models-textures dir)
 #define MAXOBJECTS 256
 
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
 // Meshes and textures arrays
 extern mesh* meshes[];
 extern texture* textures[];
 // Meshes and textures arrays
 extern mesh* meshes[];
 extern texture* textures[];
@@ -78,6 +82,8 @@ extern GLfloat shine;
 extern GLfloat glightmodel[];
 extern GLfloat emission[];
 
 extern GLfloat glightmodel[];
 extern GLfloat emission[];
 
+extern GLfloat lightBallSize
+
 /* Beginning width, height */
 extern int width, height;
 
 /* Beginning width, height */
 extern int width, height;
 

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