mirror of
https://github.com/leozide/leocad
synced 2025-01-28 19:58:12 +01:00
Removed debug code.
This commit is contained in:
parent
12d0094806
commit
e78334a671
1 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue