summaryrefslogtreecommitdiffhomepage
path: root/cv/numeric.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cv/numeric.hpp')
-rw-r--r--cv/numeric.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cv/numeric.hpp b/cv/numeric.hpp
index 0edb7f58..7d850cbe 100644
--- a/cv/numeric.hpp
+++ b/cv/numeric.hpp
@@ -5,9 +5,8 @@
namespace types {
using f = double;
- namespace constants {
- static constexpr inline f eps = f(1e-8);
- }
+ static constexpr inline f eps = f(1e-8);
+ static constexpr inline f pi = f(M_PI);
template<int n> using vec = cv::Vec<f, n>;
using vec2 = vec<2>;