Removed debug code.

This commit is contained in:
leo 2015-01-11 02:05:20 +00:00
parent 12d0094806
commit e78334a671

View file

@ -2045,15 +2045,6 @@ void lcModel::RotateSelectedPieces(const lcVector3& Angles, bool Update)
NewLocalToWorldMatrix.Orthonormalize();
// NewLocalToWorldMatrix[0].Normalize();
// NewLocalToWorldMatrix[1].Normalize();
// NewLocalToWorldMatrix[2].Normalize();
qDebug() << lcCross(NewLocalToWorldMatrix[0], NewLocalToWorldMatrix[1]).Length() << lcCross(NewLocalToWorldMatrix[2], NewLocalToWorldMatrix[1]).Length() << lcCross(NewLocalToWorldMatrix[0], NewLocalToWorldMatrix[2]).Length();
qDebug() << NewLocalToWorldMatrix[0].Length() << NewLocalToWorldMatrix[1].Length() << NewLocalToWorldMatrix[2].Length();
Piece->SetPosition(Center + Distance, mCurrentStep, gMainWindow->GetAddKeys());
Piece->SetRotation(NewLocalToWorldMatrix, mCurrentStep, gMainWindow->GetAddKeys());
Piece->UpdatePosition(mCurrentStep);