X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.h;h=f2cdd0d7dbeb7f09c721883e9c56a67d79e931cb;hp=5dd4300ff9b752da63fcab86cd4f3b098ad43679;hb=78ee002d22bec0b0084d791e6f5146be4400bac0;hpb=295ff719ec8db6df738d0210005a948eb2507c77;ds=sidebyside diff --git a/globals.h b/globals.h index 5dd4300..f2cdd0d 100644 --- a/globals.h +++ b/globals.h @@ -13,6 +13,10 @@ #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[]; @@ -78,6 +82,8 @@ extern GLfloat shine; extern GLfloat glightmodel[]; extern GLfloat emission[]; +extern GLfloat lightBallSize + /* Beginning width, height */ extern int width, height;