diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-21 11:09:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-21 11:09:00 +0200 |
commit | d576eca6a6e894606239f36b54dcb3fe5f0744cf (patch) | |
tree | 6ac68e5d63b75c9c5427be28fe24cc4b64f36329 /tracker-pt/point_tracker.h | |
parent | aaf7965df8b423bcacd411931d4cb0bb238ced61 (diff) |
tracker/pt: move pi constant to headers
Diffstat (limited to 'tracker-pt/point_tracker.h')
-rw-r--r-- | tracker-pt/point_tracker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-pt/point_tracker.h b/tracker-pt/point_tracker.h index f964a107..e3f6cdb9 100644 --- a/tracker-pt/point_tracker.h +++ b/tracker-pt/point_tracker.h @@ -118,6 +118,8 @@ public: Affine pose() { QMutexLocker l(&mtx); return X_CM; } cv::Vec2f project(const cv::Vec3f& v_M, float f); private: + static constexpr float PI = 3.14159265358979323846f; + // the points in model order struct PointOrder { |