| 1030 | } |
| 1031 | |
| 1032 | void reshape(int w, int h) |
| 1033 | { |
| 1034 | glMatrixMode(GL_PROJECTION); |
| 1035 | glLoadIdentity(); |
| 1036 | gluPerspective(60.0, (float)w / (float)h, 0.1, 10.0); |
| 1037 | |
| 1038 | glMatrixMode(GL_MODELVIEW); |
| 1039 | glViewport(0, 0, w, h); |
| 1040 | } |
| 1041 | |
| 1042 | void mainMenu(int i) { keyboard((unsigned char)i, 0, 0); } |
nothing calls this directly
no outgoing calls
no test coverage detected