X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmathconstants.h;h=42f4940343c5119aa97867f63e225e01f643657e;hb=da1348151182fe5340495ff8243e662b96c1fbfa;hp=1910a4eea071eb93ccdad254fcb8ac06e7cb2ad3;hpb=06456047e6476969e45be5b1f31b8336ea74c45f;p=architektonas diff --git a/src/mathconstants.h b/src/mathconstants.h index 1910a4e..42f4940 100644 --- a/src/mathconstants.h +++ b/src/mathconstants.h @@ -17,5 +17,7 @@ #define PI 3.14159265358979323846264338327 #define PI_OVER_2 (PI / 2.0) #define PI3_OVER_2 ((3.0 * PI) / 2.0) +#define PI_TIMES_2 (PI * 2.0) #define RADIANS_TO_DEGREES (180.0 / PI) #define DEGREES_TO_RADIANS (PI / 180.0) +