X-Git-Url: http://git.johnwright.org/?p=fmit.git;a=blobdiff_plain;f=libs%2FCppAddons%2FCAMath.h;fp=libs%2FCppAddons%2FCAMath.h;h=d711a8c89b9686bee41d28c46bb557a83494be5b;hp=294ce8db99d8aa0b3c29136312f482341ec333fa;hb=a8fb82288feb6b258f2c04312f0c36ba8d79b494;hpb=adfba0402927438a1869f1e716bcf0e25574ce1e diff --git a/libs/CppAddons/CAMath.h b/libs/CppAddons/CAMath.h index 294ce8d..d711a8c 100644 --- a/libs/CppAddons/CAMath.h +++ b/libs/CppAddons/CAMath.h @@ -33,6 +33,7 @@ namespace Math template inline TypeData sgn(TypeData a) {return (a<0)?-1:1;} static const double Pi = 2*acos(0); + static const double Pi2 = 2*Pi; static const float fPi = 2*acos(0); static const double E = exp(1);