Rename q,e keys to +,-

This commit is contained in:
hasufell 2014-05-09 14:55:03 +02:00
parent 6a8e77c72e
commit f7fc2cb91b
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 3 additions and 2 deletions

View File

@ -386,11 +386,12 @@ void keyboard(unsigned char key, int x, int y)
case 'd': case 'd':
glTranslatef(1.0f, 0.0f, 0.0f); glTranslatef(1.0f, 0.0f, 0.0f);
break; break;
case 'q': case '+':
glTranslatef(0.0f, 0.0f, 1.0f); glTranslatef(0.0f, 0.0f, 1.0f);
break; break;
case 'e': case '-':
glTranslatef(0.0f, 0.0f, -1.0f); glTranslatef(0.0f, 0.0f, -1.0f);
break; break;
case 'q':
} }
} }