From 6b3726ef90c1f3ac2ff5d9a7b8ddb23f8ab46327 Mon Sep 17 00:00:00 2001 From: ponchio Date: Fri, 22 Feb 2008 18:10:39 +0000 Subject: [PATCH] Removed a Transpose due to change in quaternions.h ToMatrix --- vcg/math/point_matching.h | 1 - 1 file changed, 1 deletion(-) diff --git a/vcg/math/point_matching.h b/vcg/math/point_matching.h index 6f716dfb..b6f337a8 100644 --- a/vcg/math/point_matching.h +++ b/vcg/math/point_matching.h @@ -270,7 +270,6 @@ bool ComputeRigidMatchMatrix(Matrix44x &res, // The corresponding eigenvector define the searched rotation, Matrix44x Rot; q.ToMatrix(Rot); - Transpose(Rot); // the translation (last row) is simply the difference between the transformed src barycenter and the trg baricenter tr= (bfix - Rot*bmov); //res[3][0]=tr[0];res[3][1]=tr[1];res[3][2]=tr[2];