summaryrefslogtreecommitdiffhomepage
path: root/opentrack/simple-mat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/simple-mat.cpp')
-rw-r--r--opentrack/simple-mat.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/opentrack/simple-mat.cpp b/opentrack/simple-mat.cpp
index 6a5421c1..ed372299 100644
--- a/opentrack/simple-mat.cpp
+++ b/opentrack/simple-mat.cpp
@@ -30,11 +30,11 @@ euler_t rmat_to_euler(const dmat<3, 3>& R)
}
// tait-bryan angles, not euler
-rmat euler_to_rmat(const double* input)
+rmat euler_to_rmat(const euler_t input)
{
- const double H = input[0];
- const double P = input[1];
- const double B = input[2];
+ 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);