summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_tracker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-16 16:57:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-16 16:57:59 +0200
commite016dca372bf69f3bb4967a8aba374bc04aea3b4 (patch)
tree73249375dc7a666acee8c7349e56c095cd6e4369 /tracker-pt/point_tracker.cpp
parent1ac33e5d5aea97448c71ea58b12492ae219e88f1 (diff)
compat/math-imports: use it
Diffstat (limited to 'tracker-pt/point_tracker.cpp')
-rw-r--r--tracker-pt/point_tracker.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp
index 73745d8f..dfc7a8a5 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -7,6 +7,7 @@
#include "point_tracker.h"
#include "compat/nan.hpp"
+#include "compat/math-imports.hpp"
using namespace types;
@@ -280,12 +281,6 @@ int PointTracker::POSIT(const PointModel& model, const PointOrder& order, f foca
static constexpr int max_iter = 100;
- using std::sqrt;
- using std::atan;
- using std::cos;
- using std::sin;
- using std::fabs;
-
int i=1;
for (; i<max_iter; ++i)
{