summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-logic/tracker.cpp')
-rw-r--r--opentrack-logic/tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack-logic/tracker.cpp b/opentrack-logic/tracker.cpp
index 10512059..4fcce853 100644
--- a/opentrack-logic/tracker.cpp
+++ b/opentrack-logic/tracker.cpp
@@ -108,7 +108,7 @@ void Tracker::logic()
m(5).opts.invert,
};
- static constexpr double pi = 3.141592653;
+ static constexpr double pi = OPENTRACK_PI;
static constexpr double r2d = 180. / pi;
static constexpr double d2r = pi / 180.;