X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmathconstants.h;h=1910a4eea071eb93ccdad254fcb8ac06e7cb2ad3;hb=4bc000ba003a53fb11428a2eb71e3b4471a15c7a;hp=78d7d7021f928257ec472db39b8677634d4bc00f;hpb=043ecf4d074909ba2f7f53237962f9eaa72f19c2;p=architektonas diff --git a/src/mathconstants.h b/src/mathconstants.h index 78d7d70..1910a4e 100644 --- a/src/mathconstants.h +++ b/src/mathconstants.h @@ -14,6 +14,8 @@ // 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)