summaryrefslogtreecommitdiffhomepage
path: root/compat/simple-mat.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-12 11:58:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-12 12:04:27 +0100
commita680c4573fb83e26caa8daee08d08dc045710dd6 (patch)
treeb4a7abfc1525263c1ec940351b89b23f774e05be /compat/simple-mat.hpp
parente5d2902e11ae6ea2e26e0caa6588384225e018f6 (diff)
compat: move from simple-mat.hpp to euler.hpp
Diffstat (limited to 'compat/simple-mat.hpp')
-rw-r--r--compat/simple-mat.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/compat/simple-mat.hpp b/compat/simple-mat.hpp
index 9739be7f..a1509f4d 100644
--- a/compat/simple-mat.hpp
+++ b/compat/simple-mat.hpp
@@ -258,8 +258,6 @@ public:
}
};
-template<int h_, int w_> using dmat = Mat<double, h_, w_>;
-
template<typename num, int h, int w>
Mat<num, h, w> operator*(num scalar, const Mat<num, h, w>& mat)
{
@@ -276,18 +274,3 @@ Mat<num, h_, w_> operator*(const Mat<num, h_, w_>& self, num other)
return ret;
}
-namespace euler {
-
-using rmat = dmat<3, 3>;
-using euler_t = dmat<3, 1>;
-
-rmat OPENTRACK_COMPAT_EXPORT euler_to_rmat(const euler_t& input);
-
-euler_t OPENTRACK_COMPAT_EXPORT rmat_to_euler(const rmat& R);
-
-void OPENTRACK_COMPAT_EXPORT tait_bryan_to_matrices(const euler_t& input,
- rmat& r_roll,
- rmat& r_pitch,
- rmat& r_yaw);
-
-} // end ns euler