X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmathconstants.h;h=c180d14d6fc786768ab9a9c0c300c6fe0682d704;hb=67fbc130b4b6b4d253f69a9c32980d3d3306def5;hp=78d7d7021f928257ec472db39b8677634d4bc00f;hpb=043ecf4d074909ba2f7f53237962f9eaa72f19c2;p=architektonas diff --git a/src/mathconstants.h b/src/mathconstants.h index 78d7d70..c180d14 100644 --- a/src/mathconstants.h +++ b/src/mathconstants.h @@ -14,6 +14,7 @@ // JLH 04/01/2011 Created this file // -#define PI 3.14159265358979323846264338327 +#define PI 3.14159265358979323846264338327 +#define PI_OVER_2 (PI / 2.0) #define RADIANS_TO_DEGREES (180.0 / PI) #define DEGREES_TO_RADIANS (PI / 180.0)