diff options
Diffstat (limited to 'opentrack-logic/tracker.h')
-rw-r--r-- | opentrack-logic/tracker.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opentrack-logic/tracker.h b/opentrack-logic/tracker.h index 1c29fb8d..618de409 100644 --- a/opentrack-logic/tracker.h +++ b/opentrack-logic/tracker.h @@ -10,6 +10,7 @@ #include <vector> +#include "opentrack-compat/pi-constant.hpp" #include "opentrack-compat/timer.hpp" #include "opentrack/plugin-support.hpp" #include "mappings.hpp" @@ -28,7 +29,7 @@ class Pose { private: - static constexpr double pi = 3.141592653; + static constexpr double pi = OPENTRACK_PI; static constexpr double d2r = pi/180.0; static constexpr double r2d = 180./pi; |