trivial/tri_viewport: add space==reset key

This commit is contained in:
Keith Whitwell 2009-04-20 17:32:15 +01:00
parent 6bfcffa79e
commit a38f7d9e68

View file

@ -72,7 +72,9 @@ static void Key(unsigned char key, int x, int y)
case 'H':
th -= 1.0;
break;
case ' ':
tw = th = tx = ty = 0;
break;
default:
break;
}