From b3476cc5f25c6039ebec6174c9e719f0ca37d24f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 16 Sep 2016 16:10:52 +0200 Subject: tracker/pt: get rid of pt_types class --- tracker-pt/point_extractor.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tracker-pt/point_extractor.h') diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h index 0a019ec0..5ebd8056 100644 --- a/tracker-pt/point_extractor.h +++ b/tracker-pt/point_extractor.h @@ -13,11 +13,12 @@ #include #include "ftnoir_tracker_pt_settings.h" -#include "compat/pi-constant.hpp" #include -class PointExtractor final : private pt_types +using namespace pt_types; + +class PointExtractor final { public: // extracts points from frame and draws some processing info into frame, if draw_output is set @@ -28,7 +29,7 @@ public: settings_pt s; private: - static constexpr double pi = OPENTRACK_PI; + static constexpr double pi = constants::pi; static constexpr int max_blobs = 16; cv::Mat frame_gray; -- cgit v1.2.3