Commit f9d056f7 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Fixed Vec3d initialization bug.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17656 383ad7c9-94d9-4d36-a494-682f7c89f535
parent acce01c0
......@@ -1950,7 +1950,7 @@ void glViewer::handleNormalNavigation( QMouseEvent* _event ) {
ACG::MULT_FROM_LEFT);
}
*/
ACG::Vec3d center(glWidth()/2.0, glHeight()/2.0);
ACG::Vec3d center(glWidth()/2.0, glHeight()/2.0, 0);
rotate(constrainedRotationAxis_, angle, unproject(center));
lastRotationAxis_ = constrainedRotationAxis_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment