diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-24 18:09:05 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-27 16:42:59 +0200 |
commit | fcafbe06947bf24f9c9ac2811dcbd123a672a380 (patch) | |
tree | eec1b46e6ab4c261a59300001b51a8fbdf115a17 /logic/pipeline.hpp | |
parent | 17c2d20f7e9036351abf9f86bc09636e0b8a0559 (diff) |
logic: use c++14-style in-line initializers
Diffstat (limited to 'logic/pipeline.hpp')
-rw-r--r-- | logic/pipeline.hpp | 6 |
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(); |