Faster camera movement on Shift+DnD
This commit is contained in:
parent
5f92d0b6eb
commit
52bf5cd3fc
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue