left-right look is at constant speed

This commit is contained in:
Volodymyr Patuta 2020-12-31 17:23:54 +01:00
parent 00150523c4
commit 4f75b647bf
1 changed files with 2 additions and 2 deletions

View File

@ -569,11 +569,11 @@ void key(int keycode) {
break;
case GL4DK_a:
if (_movement)
_cam.theta += _v * step;
_cam.theta += step * 0.01;
break;
case GL4DK_d:
if (_movement)
_cam.theta -= _v * step;
_cam.theta -= step * 0.01;
break;
case GL4DK_p:
if (_pause == 0)