// Handle keyboard events
void GLUTkey(unsigned char k, int x, int y) {
// Handle keyboard events
void GLUTkey(unsigned char k, int x, int y) {
fgPrintf( FG_INPUT, FG_DEBUG, "\n");
switch (k) {
case 50: // numeric keypad 2
fgPrintf( FG_INPUT, FG_DEBUG, "\n");
switch (k) {
case 50: // numeric keypad 2
// Revision 1.29 1998/10/20 14:58:57 curt
// Ctrl-R now reverses default polygon winding so I can see if a hole in the
// terrain is a result of improper winding, or if it is just an empty hole.
// Revision 1.29 1998/10/20 14:58:57 curt
// Ctrl-R now reverses default polygon winding so I can see if a hole in the
// terrain is a result of improper winding, or if it is just an empty hole.