From bc7e84e8dbd1044258343ff05c3b6323297cd8d5 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Thu, 12 Jan 2006 22:32:00 +0000 Subject: [PATCH] remove unnecessary code --- src/meshlab/glarea.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/meshlab/glarea.cpp b/src/meshlab/glarea.cpp index 2ead297c4..723d24721 100644 --- a/src/meshlab/glarea.cpp +++ b/src/meshlab/glarea.cpp @@ -24,6 +24,9 @@ History $Log$ +Revision 1.69 2006/01/12 22:32:00 alemochi +remove unnecessary code + Revision 1.68 2006/01/12 22:14:39 alemochi added vertigo effect and moveable near clip plane @@ -471,9 +474,7 @@ void GLArea::paintGL() glGetDoublev(GL_MODELVIEW_MATRIX, m); modelview2.Import(Matrix44d(m)); Transpose(modelview2); - Matrix44d modelview1Inv; - modelview1Inv.SetIdentity(); - modelview1Inv=Inverse(modelview1); + Matrix44d modelview1Inv=Inverse(modelview1); Matrix44d m_apply=modelview1Inv*modelview2; // Get Apply matrix // Setting camera e projection