summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-12-15 21:47:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-12-15 21:47:35 +0100
commit769d1340d3a76547a2252f52eb0a8615015f20e0 (patch)
tree0d676fa2f3028bca75796fd983c78bc062452ed3 /opentrack/tracker.h
parent8e01d0feed376f5e93698fb820e224014d8d9532 (diff)
move rmat->euler and euler->rmat conversions to header
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r--opentrack/tracker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h
index f7f69a7b..58eb69dd 100644
--- a/opentrack/tracker.h
+++ b/opentrack/tracker.h
@@ -32,6 +32,8 @@ private:
volatile bool should_quit;
SelectedLibraries const& libs;
+ using rmat = dmat<3, 3>;
+
dmat<3, 3> r_b;
double t_b[3];
@@ -40,6 +42,7 @@ private:
void t_compensate(const dmat<3, 3>& rmat, const double* ypr, double* output, bool rz);
void run() override;
+
public:
Tracker(main_settings& s, Mappings& m, SelectedLibraries& libs);
~Tracker();