Reinstate L/l for growing/shrinking vector normal length
This commit is contained in:
parent
6ccca351e8
commit
9ae8fac4e2
@ -277,12 +277,13 @@ static bool process_keypress(SDL_KeyboardEvent *key_event)
|
|||||||
case 'f':
|
case 'f':
|
||||||
draw_frame = !draw_frame;
|
draw_frame = !draw_frame;
|
||||||
break;
|
break;
|
||||||
/* case 'k': */
|
case 'l':
|
||||||
/* draw_normals(obj, 0.01f); */
|
if (mod & KMOD_SHIFT) {
|
||||||
/* break; */
|
draw_normals(obj, 0.01f);
|
||||||
/* case 'l': */
|
} else {
|
||||||
/* draw_normals(obj, -0.01f); */
|
draw_normals(obj, -0.01f);
|
||||||
/* break; */
|
}
|
||||||
|
break;
|
||||||
case 'w':
|
case 'w':
|
||||||
glTranslatef(0.0f, 1.0f, 0.0f);
|
glTranslatef(0.0f, 1.0f, 0.0f);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user