summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-03-10 18:59:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-03-10 18:59:29 +0100
commit958b2c1bed7603dd0eb16c2a403ab9efd8e6b20f (patch)
tree5b3364118ab1bae3cb00f666e16d1f86f5a6f16b /logic
parent777728a636420f81f5ab5822dffa02d70bdd6795 (diff)
logic/pipeline: cleanup
Also remove the license in header. It's stale.
Diffstat (limited to 'logic')
-rw-r--r--logic/pipeline.cpp2
-rw-r--r--logic/pipeline.hpp17
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 <sthalik@misaki.pl>
-
- * 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 <vector>
@@ -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;