summaryrefslogtreecommitdiffhomepage
path: root/cv/numeric.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-03 00:09:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:20 +0100
commit545071e998806235442edda5f575ee61e836abe9 (patch)
tree45579d717361f24c6f4a06354f5836447e691771 /cv/numeric.hpp
parent4766be01022d6de50f7b42647299860c2d9909b8 (diff)
cruft
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>;