summaryrefslogtreecommitdiff
path: root/common/accel-jump.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/accel-jump.hpp')
-rw-r--r--common/accel-jump.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/accel-jump.hpp b/common/accel-jump.hpp
index 2d13cae..30f9a49 100644
--- a/common/accel-jump.hpp
+++ b/common/accel-jump.hpp
@@ -2,9 +2,6 @@
#include "rawaccel-base.hpp"
-#define _USE_MATH_DEFINES
-#include <math.h>
-
namespace rawaccel {
struct jump_base {
@@ -18,7 +15,7 @@ namespace rawaccel {
smooth_rate = 0;
}
else {
- smooth_rate = 2 * M_PI / (args.offset * args.smooth);
+ smooth_rate = 2 * PI / (args.offset * args.smooth);
}
}