From ae550d179c25e149f7e8a8d70011b364fb0d85d6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Apr 2013 14:57:08 +0300 Subject: some fixes after auto check. --- src/rotationalparticle.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/rotationalparticle.cpp') diff --git a/src/rotationalparticle.cpp b/src/rotationalparticle.cpp index d3b296587..a5473044f 100644 --- a/src/rotationalparticle.cpp +++ b/src/rotationalparticle.cpp @@ -25,10 +25,12 @@ #include "graphics.h" #include "simpleanimation.h" +#include + #include "debug.h" -static const double PI = 3.14159265; -static const float PI2 = 2 * 3.14159265; +static const double PI = M_PI; +static const float PI2 = 2 * M_PI; RotationalParticle::RotationalParticle(Map *const map, Animation *const animation) : -- cgit v1.2.3-70-g09d2