summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-25 14:53:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-25 14:53:18 +0200
commit3c86c541c57e5a1e1e5b622128710b11dfc1a470 (patch)
tree681a13d3223255c5c1e4831d13b95d7c390e7664 /opentrack/tracker.h
parent6e0055ed7ad87f13136040c4d6157a151c1efad3 (diff)
basis mapping seem to work now
Only matrix -> euler conversion broken Issue: #63
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r--opentrack/tracker.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h
index 4282bc4e..f671ecd2 100644
--- a/opentrack/tracker.h
+++ b/opentrack/tracker.h
@@ -3,6 +3,8 @@
#include <atomic>
#include <vector>
+#include <opencv2/core/core.hpp>
+
#include "./timer.hpp"
#include "./plugin-support.h"
#include "./mappings.hpp"
@@ -31,7 +33,7 @@ private:
std::atomic<bool> should_quit;
SelectedLibraries const& libs;
- Quat r_b;
+ cv::Matx33d r_b;
double t_b[3];
double map(double pos, Mapping& axis);