summaryrefslogtreecommitdiffhomepage
path: root/logic/pipeline.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/pipeline.hpp')
-rw-r--r--logic/pipeline.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/logic/pipeline.hpp b/logic/pipeline.hpp
index 58900d34..0cb828e7 100644
--- a/logic/pipeline.hpp
+++ b/logic/pipeline.hpp
@@ -32,6 +32,8 @@
namespace gui_tracker_impl {
+using namespace time_units;
+
struct OTR_LOGIC_EXPORT bits
{
enum flags : unsigned {
@@ -83,9 +85,9 @@ private:
state real_rotation, scaled_rotation;
euler_t t_center;
- time_units::ns backlog_time;
+ ns backlog_time = ns(0);
- bool tracking_started;
+ bool tracking_started = false;
double map(double pos, Map& axis);
void logic();