From 020b076424fa40a4156e44f00471238be6f3e677 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 25 Oct 2014 14:53:57 +0200 Subject: so long "class Quat", hope you rot in hell --- opentrack/pose.hpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'opentrack/pose.hpp') 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 #include -#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; - } }; -- cgit v1.2.3