Reinstate L/l for growing/shrinking vector normal length

This commit is contained in:
hasufell 2014-06-06 22:39:57 +02:00
parent 6ccca351e8
commit 9ae8fac4e2
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 7 additions and 6 deletions

View File

@ -277,12 +277,13 @@ static bool process_keypress(SDL_KeyboardEvent *key_event)
case 'f':
draw_frame = !draw_frame;
break;
/* case 'k': */
/* draw_normals(obj, 0.01f); */
/* break; */
/* case 'l': */
/* draw_normals(obj, -0.01f); */
/* break; */
case 'l':
if (mod & KMOD_SHIFT) {
draw_normals(obj, 0.01f);
} else {
draw_normals(obj, -0.01f);
}
break;
case 'w':
glTranslatef(0.0f, 1.0f, 0.0f);
break;