summaryrefslogtreecommitdiffhomepage
path: root/cv/affine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cv/affine.cpp')
-rw-r--r--cv/affine.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cv/affine.cpp b/cv/affine.cpp
index 4ec63e57..66e21aa6 100644
--- a/cv/affine.cpp
+++ b/cv/affine.cpp
@@ -9,9 +9,8 @@
namespace affine_impl {
-Affine::Affine() : R(mat33::eye()), t(0,0,0) {}
-
-Affine::Affine(const mat33& R, const vec3& t) : R(R),t(t) {}
+Affine::Affine() = default;
+Affine::Affine(const mat33& R, const vec3& t) : R(R), t(t) {}
Affine operator*(const Affine& X, const Affine& Y)
{