Fixed Axis. Due to quaternion changes.

This commit is contained in:
Federico Ponchio 2008-04-11 12:22:32 +00:00
parent 4b43ac4de8
commit 9cb9c1dace
1 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,9 @@
/**************************************************************************** /****************************************************************************
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.24 2008/02/22 17:41:48 ponchio
Changed to reflect quaternion toMatrix inversion.
Revision 1.23 2007/02/06 08:54:07 corsini Revision 1.23 2007/02/06 08:54:07 corsini
fix names fix names
@ -194,7 +197,7 @@ vcg::Point3<S> Shot<S>::Axis(const int & i) const
{ {
vcg::Matrix44<S> m; vcg::Matrix44<S> m;
Extrinsics.rot.ToMatrix(m); Extrinsics.rot.ToMatrix(m);
vcg::Point3<S> aa = m.GetRow3(i); vcg::Point3<S> aa = m.GetCol3(i);
return aa; return aa;
} }