left-right look is at constant speed
This commit is contained in:
parent
00150523c4
commit
4f75b647bf
4
window.c
4
window.c
@ -569,11 +569,11 @@ void key(int keycode) {
|
|||||||
break;
|
break;
|
||||||
case GL4DK_a:
|
case GL4DK_a:
|
||||||
if (_movement)
|
if (_movement)
|
||||||
_cam.theta += _v * step;
|
_cam.theta += step * 0.01;
|
||||||
break;
|
break;
|
||||||
case GL4DK_d:
|
case GL4DK_d:
|
||||||
if (_movement)
|
if (_movement)
|
||||||
_cam.theta -= _v * step;
|
_cam.theta -= step * 0.01;
|
||||||
break;
|
break;
|
||||||
case GL4DK_p:
|
case GL4DK_p:
|
||||||
if (_pause == 0)
|
if (_pause == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user