Rename q,e keys to +,-

This commit is contained in:
2014-05-09 14:55:03 +02:00
parent 6a8e77c72e
commit f7fc2cb91b

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':
} }
} }