diff options
Diffstat (limited to 'cv/affine.hpp')
-rw-r--r-- | cv/affine.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cv/affine.hpp b/cv/affine.hpp index 3bc85c95..4640e24e 100644 --- a/cv/affine.hpp +++ b/cv/affine.hpp @@ -7,12 +7,11 @@ #pragma once -#include <opencv2/core.hpp> #include "numeric.hpp" namespace affine_impl { -using namespace types; +using namespace numeric_types; class Affine final { @@ -20,8 +19,8 @@ public: Affine(); Affine(const mat33& R, const vec3& t); - mat33 R; - vec3 t; + mat33 R { mat33::eye() }; + vec3 t { 0, 0, 0 }; }; Affine operator*(const Affine& X, const Affine& Y); @@ -31,5 +30,5 @@ vec3 operator*(const Affine& X, const vec3& v); } // ns affine_impl -using affine_impl::Affine; -using affine_impl::operator *; +using Affine = affine_impl::Affine; +//using affine_impl::operator *; |