summaryrefslogtreecommitdiff
path: root/src/rotationalparticle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 14:57:08 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commitae550d179c25e149f7e8a8d70011b364fb0d85d6 (patch)
treec4dabe3e38afc8b343e3946202eb6fa5f30a18a9 /src/rotationalparticle.cpp
parent2566e68d2502d39c9f7c9d83ce4b281e2834fe29 (diff)
downloadmanaplus-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.gz
manaplus-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.bz2
manaplus-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.xz
manaplus-ae550d179c25e149f7e8a8d70011b364fb0d85d6.zip
some fixes after auto check.
Diffstat (limited to 'src/rotationalparticle.cpp')
-rw-r--r--src/rotationalparticle.cpp6
1 files changed, 4 insertions, 2 deletions
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 <math.h>
+
#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) :