summaryrefslogtreecommitdiffhomepage
path: root/opentrack/pose.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-25 14:53:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-25 14:53:57 +0200
commit020b076424fa40a4156e44f00471238be6f3e677 (patch)
tree1bdb370e810fd8cea65c89dfa47f08f9b78f55ff /opentrack/pose.hpp
parent3235281156cfd733759a982bf84701d40c1a33b5 (diff)
so long "class Quat", hope you rot in hell
Diffstat (limited to 'opentrack/pose.hpp')
-rw-r--r--opentrack/pose.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/opentrack/pose.hpp b/opentrack/pose.hpp
index d0aadcd9..93d467a9 100644
--- a/opentrack/pose.hpp
+++ b/opentrack/pose.hpp
@@ -2,7 +2,6 @@
#include <utility>
#include <algorithm>
-#include "./quat.hpp"
#include "./plugin-api.hpp"
class Pose {
@@ -20,16 +19,4 @@ public:
inline double& operator()(int i) { return axes[i]; }
inline double operator()(int i) const { return axes[i]; }
-
- Quat quat() const
- {
- return Quat(axes[Yaw]*d2r, axes[Pitch]*d2r, axes[Roll]*d2r);
- }
-
- static Pose fromQuat(const Quat& q)
- {
- Pose ret;
- q.to_euler_degrees(ret(Yaw), ret(Pitch), ret(Roll));
- return ret;
- }
};