diff options
Diffstat (limited to 'opentrack/simple-mat.cpp')
-rw-r--r-- | opentrack/simple-mat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opentrack/simple-mat.cpp b/opentrack/simple-mat.cpp index 4ab68e0f..367cf365 100644 --- a/opentrack/simple-mat.cpp +++ b/opentrack/simple-mat.cpp @@ -36,9 +36,9 @@ euler_t rmat_to_euler(const dmat<3, 3>& R) // tait-bryan angles, not euler rmat euler_to_rmat(const double* input) { - auto H = input[0] * pi / 180; - auto P = input[1] * pi / 180; - auto B = input[2] * pi / 180; + const double H = input[0]; + const double P = input[1]; + const double B = input[2]; const auto c1 = cos(H); const auto s1 = sin(H); |