X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmathconstants.h;h=1910a4eea071eb93ccdad254fcb8ac06e7cb2ad3;hb=8d80165e3ab9173b8689b3b3420b40bf3020161f;hp=c97249cd7491731af251e54028d023c7ce83f4bd;hpb=9f6ad3fe0b9cb30115a5d38e8af3aebed0d70c08;p=architektonas diff --git a/src/mathconstants.h b/src/mathconstants.h index c97249c..1910a4e 100644 --- a/src/mathconstants.h +++ b/src/mathconstants.h @@ -7,13 +7,15 @@ // NOTE: Since this has no code associated with it, there is no corresponding // .cpp file. // -// JLH = James L. Hammons +// JLH = James Hammons // // WHO WHEN WHAT // --- ---------- ------------------------------------------------------------ // JLH 04/01/2011 Created this file // -#define PI 3.14159265358979323846264338327 +#define PI 3.14159265358979323846264338327 +#define PI_OVER_2 (PI / 2.0) +#define PI3_OVER_2 ((3.0 * PI) / 2.0) #define RADIANS_TO_DEGREES (180.0 / PI) #define DEGREES_TO_RADIANS (PI / 180.0)