trivial/tri_viewport: add space==reset key
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user