summaryrefslogtreecommitdiff
path: root/common/rawaccel-base.hpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-03 18:09:00 -0400
committera1xd <[email protected]>2021-09-23 22:28:44 -0400
commit6a9272d3af202274dfbced245f0ba20b263fcd8b (patch)
treeb139e1d21aac0febc6105ac0d4c480f352d3064a /common/rawaccel-base.hpp
parentadd per-device configuration (diff)
downloadrawaccel-6a9272d3af202274dfbced245f0ba20b263fcd8b.tar.xz
rawaccel-6a9272d3af202274dfbced245f0ba20b263fcd8b.zip
refactor vec2/math
Diffstat (limited to 'common/rawaccel-base.hpp')
-rw-r--r--common/rawaccel-base.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/rawaccel-base.hpp b/common/rawaccel-base.hpp
index ce6c103..8a49681 100644
--- a/common/rawaccel-base.hpp
+++ b/common/rawaccel-base.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include "vec2.h"
+#include "math-vec2.hpp"
namespace rawaccel {
using milliseconds = double;
@@ -22,7 +22,6 @@ namespace rawaccel {
inline constexpr size_t LUT_POINTS_CAPACITY = LUT_RAW_DATA_CAPACITY / 2;
inline constexpr double MAX_NORM = 16;
- inline constexpr double PI = 3.14159265358979323846;
inline constexpr bool LEGACY = 0;
inline constexpr bool GAIN = 1;