From 958b2c1bed7603dd0eb16c2a403ab9efd8e6b20f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 10 Mar 2018 18:59:29 +0100 Subject: logic/pipeline: cleanup Also remove the license in header. It's stale. --- logic/pipeline.cpp | 2 +- logic/pipeline.hpp | 17 +++-------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp index 9b490f44..4ebc265e 100644 --- a/logic/pipeline.cpp +++ b/logic/pipeline.cpp @@ -30,7 +30,7 @@ using namespace euler; using namespace time_units; -using namespace gui_tracker_impl; +using namespace pipeline_impl; static constexpr inline double r2d = 180. / M_PI; static constexpr inline double d2r = M_PI / 180.; diff --git a/logic/pipeline.hpp b/logic/pipeline.hpp index f71a8963..7c18f7fc 100644 --- a/logic/pipeline.hpp +++ b/logic/pipeline.hpp @@ -1,11 +1,3 @@ -/* Copyright (c) 2014-2015, Stanislaw Halik - - * Permission to use, copy, modify, and/or distribute this - * software for any purpose with or without fee is hereby granted, - * provided that the above copyright notice and this permission - * notice appear in all copies. - */ - #pragma once #include @@ -30,7 +22,7 @@ #include "export.hpp" -namespace gui_tracker_impl { +namespace pipeline_impl { using rmat = euler::rmat; using euler_t = euler::euler_t; @@ -136,9 +128,6 @@ private: Pose apply_reltrans(Pose value, vec6_bool disabled, bool centerp); Pose apply_zero_pos(Pose value) const; - // reminder: float exponent base is 2 - //static constexpr inline double c_mult = 16; - //static constexpr inline double c_div = 1./c_mult; public: pipeline(Mappings& m, runtime_libraries& libs, event_handler& ev, TrackLogger& logger); ~pipeline(); @@ -155,6 +144,6 @@ public: void set_zero(bool value); }; -} // ns impl +} // ns pipeine_impl -using gui_tracker_impl::pipeline; +using pipeline_impl::pipeline; -- cgit v1.2.3