summaryrefslogtreecommitdiffhomepage
path: root/opentrack/pose.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/pose.hpp')
-rw-r--r--opentrack/pose.hpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/opentrack/pose.hpp b/opentrack/pose.hpp
index 41e984f5..d0aadcd9 100644
--- a/opentrack/pose.hpp
+++ b/opentrack/pose.hpp
@@ -13,7 +13,7 @@ private:
double axes[6];
public:
- Pose() : axes {0,0,0, 0,0,0 } {}
+ Pose() : axes {0,0,0, 0,0,0} {}
inline operator double*() { return axes; }
inline operator const double*() const { return axes; }
@@ -32,13 +32,4 @@ public:
q.to_euler_degrees(ret(Yaw), ret(Pitch), ret(Roll));
return ret;
}
-
- Pose operator&(const Pose& B) const
- {
- const Quat q = quat() * B.quat().inv();
- Pose ret = fromQuat(q);
- for (int i = TX; i < TX + 3; i++)
- ret(i) = axes[i] - B.axes[i];
- return ret;
- }
};