summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/simple-mat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/opentrack/simple-mat.cpp b/opentrack/simple-mat.cpp
index 8173f888..b9273fc0 100644
--- a/opentrack/simple-mat.cpp
+++ b/opentrack/simple-mat.cpp
@@ -1,8 +1,9 @@
#include "simple-mat.hpp"
+#include "opentrack-compat/pi-constant.hpp"
namespace euler {
-static constexpr double pi = 3.141592653;
+static constexpr double pi = OPENTRACK_PI;
euler_t rmat_to_euler(const dmat<3, 3>& R)
{