summaryrefslogtreecommitdiffhomepage
path: root/logic/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-18 21:00:20 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-18 21:00:20 +0100
commit322a6f008627f6beb389ea47c7a2c8d4f02a6261 (patch)
treee696004fe55d7c3e3ed3274307f4ce028140ce56 /logic/tracker.h
parent31ce79a7acd7d7667e20906e265d7451fa1c353f (diff)
logic/tracker: avoid exposing struct bits and Pose type alias
Diffstat (limited to 'logic/tracker.h')
-rw-r--r--logic/tracker.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/logic/tracker.h b/logic/tracker.h
index b9012910..ddb71b44 100644
--- a/logic/tracker.h
+++ b/logic/tracker.h
@@ -29,6 +29,8 @@
#include "export.hpp"
+namespace gui_tracker_impl {
+
using Pose = Mat<double, 6, 1>;
struct bits
@@ -115,3 +117,7 @@ public:
void zero() { negate(f_zero); }
void toggle_enabled() { negate(f_enabled); }
};
+
+} // ns impl
+
+using gui_tracker_impl::Tracker;