diff options
Diffstat (limited to 'opentrack-logic/simple-mat.hpp')
-rw-r--r-- | opentrack-logic/simple-mat.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/opentrack-logic/simple-mat.hpp b/opentrack-logic/simple-mat.hpp index 09de6004..514e845f 100644 --- a/opentrack-logic/simple-mat.hpp +++ b/opentrack-logic/simple-mat.hpp @@ -269,7 +269,11 @@ using euler_t = dmat<3, 1>; rmat OPENTRACK_LOGIC_EXPORT euler_to_rmat(const euler_t& input); -// http://stackoverflow.com/a/18436193 -euler_t OPENTRACK_LOGIC_EXPORT rmat_to_euler(const dmat<3, 3>& R); +euler_t OPENTRACK_LOGIC_EXPORT rmat_to_euler(const rmat& R); + +void OPENTRACK_LOGIC_EXPORT tait_bryan_to_matrices(const euler_t& input, + rmat& r_roll, + rmat& r_pitch, + rmat& r_yaw); } // end ns euler |