X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.h;h=fe6d362eae69430bfbc5c9321951c377cef1d173;hp=5dd4300ff9b752da63fcab86cd4f3b098ad43679;hb=39d7272ede4e1ad75c15c9b7c4394e833df4591b;hpb=f8d9a447d9658d88f8088afb88d0d92e8087172c 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[];