From e78334a6712913430b1bcd3a70b957b680938ac4 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 11 Jan 2015 02:05:20 +0000 Subject: [PATCH] Removed debug code. --- common/lc_model.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/common/lc_model.cpp b/common/lc_model.cpp index 741baac6..dd8c39a1 100644 --- a/common/lc_model.cpp +++ b/common/lc_model.cpp @@ -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);