From d576eca6a6e894606239f36b54dcb3fe5f0744cf Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 21 Jun 2016 11:09:00 +0200 Subject: tracker/pt: move pi constant to headers --- tracker-pt/point_extractor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tracker-pt/point_extractor.h') diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h index 3e4661f9..b3fac38a 100644 --- a/tracker-pt/point_extractor.h +++ b/tracker-pt/point_extractor.h @@ -28,7 +28,9 @@ public: settings_pt s; private: - enum { hist_c = 2 }; + static constexpr double pi = 3.14159265359; + static constexpr int hist_c = 1; + std::vector points; QMutex mtx; cv::Mat frame_gray; -- cgit v1.2.3