Removed a Transpose due to change in quaternions.h ToMatrix

This commit is contained in:
Federico Ponchio 2008-02-22 18:10:39 +00:00
parent 8cc9a085a7
commit 6b3726ef90
1 changed files with 0 additions and 1 deletions

View File

@ -270,7 +270,6 @@ bool ComputeRigidMatchMatrix(Matrix44x &res,
// The corresponding eigenvector define the searched rotation, // The corresponding eigenvector define the searched rotation,
Matrix44x Rot; Matrix44x Rot;
q.ToMatrix(Rot); q.ToMatrix(Rot);
Transpose(Rot);
// the translation (last row) is simply the difference between the transformed src barycenter and the trg baricenter // the translation (last row) is simply the difference between the transformed src barycenter and the trg baricenter
tr= (bfix - Rot*bmov); tr= (bfix - Rot*bmov);
//res[3][0]=tr[0];res[3][1]=tr[1];res[3][2]=tr[2]; //res[3][0]=tr[0];res[3][1]=tr[1];res[3][2]=tr[2];