Faster camera movement on Shift+DnD

This commit is contained in:
Emmanuel BENOîT 2017-10-05 13:16:50 +02:00
parent 5f92d0b6eb
commit 52bf5cd3fc

View file

@ -22,7 +22,7 @@ void T_Camera::handleDND(
if ( lmb && hasShift ) {
// Left mouse button, shift - move camera
const auto side( glm::normalize( glm::cross( up , dir ) ) );
lookAt += .01f * ( side * fdx + up * fdy );
lookAt += .1f * ( side * fdx + up * fdy );
} else if ( lmb ) {
// Left mouse button, no shift - change yaw/pitch
updateAngle( angles.y , fdx );