X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.h;h=fe6d362eae69430bfbc5c9321951c377cef1d173;hp=5dd4300ff9b752da63fcab86cd4f3b098ad43679;hb=e4c12e05e66672e8c1d0ed11a1583e0638c32d18;hpb=295ff719ec8db6df738d0210005a948eb2507c77;ds=sidebyside diff --git a/globals.h b/globals.h index 5dd4300..fe6d362 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[];