diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-18 21:00:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-18 21:00:20 +0100 |
commit | 322a6f008627f6beb389ea47c7a2c8d4f02a6261 (patch) | |
tree | e696004fe55d7c3e3ed3274307f4ce028140ce56 /logic | |
parent | 31ce79a7acd7d7667e20906e265d7451fa1c353f (diff) |
logic/tracker: avoid exposing struct bits and Pose type alias
Diffstat (limited to 'logic')
-rw-r--r-- | logic/tracker.cpp | 1 | ||||
-rw-r--r-- | logic/tracker.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp index 61905837..9f4c3617 100644 --- a/logic/tracker.cpp +++ b/logic/tracker.cpp @@ -26,6 +26,7 @@ #endif using namespace euler; +using namespace gui_tracker_impl; constexpr double Tracker::r2d; constexpr double Tracker::d2r; 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; |