progs/demos/gloss: press 'n' to advance by one frame
This commit is contained in:
@@ -215,6 +215,9 @@ static void Key( unsigned char key, int x, int y )
|
|||||||
case ' ':
|
case ' ':
|
||||||
ToggleAnimate();
|
ToggleAnimate();
|
||||||
break;
|
break;
|
||||||
|
case 'n':
|
||||||
|
Idle();
|
||||||
|
break;
|
||||||
case 27:
|
case 27:
|
||||||
glutDestroyWindow(Win);
|
glutDestroyWindow(Win);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Reference in New Issue
Block a user