summaryrefslogtreecommitdiffhomepage
path: root/cv/affine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cv/affine.cpp')
-rw-r--r--cv/affine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cv/affine.cpp b/cv/affine.cpp
index 1b37305c..4ec63e57 100644
--- a/cv/affine.cpp
+++ b/cv/affine.cpp
@@ -15,17 +15,17 @@ Affine::Affine(const mat33& R, const vec3& t) : R(R),t(t) {}
Affine operator*(const Affine& X, const Affine& Y)
{
- return Affine(X.R*Y.R, X.R*Y.t + X.t);
+ return { X.R*Y.R, X.R*Y.t + X.t };
}
Affine operator*(const mat33& X, const Affine& Y)
{
- return Affine(X*Y.R, X*Y.t);
+ return { X*Y.R, X*Y.t };
}
Affine operator*(const Affine& X, const mat33& Y)
{
- return Affine(X.R*Y, X.t);
+ return { X.R*Y, X.t };
}
vec3 operator*(const Affine& X, const vec3& v)