diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-03 07:12:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-03 07:12:20 +0100 |
commit | 7c5784780fd9c5d9fe0bf5cb3fb2ac2bf6dd0ae0 (patch) | |
tree | 1d15a1feaf398d7b2ab314c3f1071d1d08dcd5cc /tracker-aruco/ftnoir_tracker_aruco.h | |
parent | d9df8ee0ab28c5ac46c8026dcaff135356ca6953 (diff) |
tracker/aruco: simplify open-coded clamp()
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.h')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.h b/tracker-aruco/ftnoir_tracker_aruco.h index edec2437..cdea1e42 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.h +++ b/tracker-aruco/ftnoir_tracker_aruco.h @@ -100,8 +100,8 @@ private: volatile bool stop; - static constexpr const double size_min = 0.05f; - static constexpr const double size_max = 0.3f; + static constexpr const float size_min = 0.05; + static constexpr const float size_max = 0.3; static constexpr const double RC = .25; }; |