summaryrefslogtreecommitdiffhomepage
path: root/cv/affine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cv/affine.hpp')
-rw-r--r--cv/affine.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cv/affine.hpp b/cv/affine.hpp
index 3bc85c95..882a1145 100644
--- a/cv/affine.hpp
+++ b/cv/affine.hpp
@@ -12,7 +12,7 @@
namespace affine_impl {
-using namespace types;
+using namespace numeric_types;
class Affine final
{
@@ -20,8 +20,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 +31,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 *;