You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case GLUT_KEY_F11: {fullscreen=!fullscreen;if(fullscreen){oWIDTH=WIDTH;oHEIGHT=HEIGHT;glutFullScreen();}else{glutReshapeWindow(oWIDTH,oHEIGHT);}break;}
230
230
case GLUT_KEY_UP:{
231
231
yPos+=40/zoom;glutPostRedisplay();break;}
232
232
case GLUT_KEY_DOWN:{
@@ -235,6 +235,7 @@ void specialfunc(int key, int x, int y){
235
235
xPos+=40/zoom;glutPostRedisplay();break;}
236
236
case GLUT_KEY_LEFT:{
237
237
xPos-=40/zoom;glutPostRedisplay();break;}
238
+
case GLUT_KEY_F11: {fullscreen=!fullscreen;if(fullscreen){oWIDTH=WIDTH;oHEIGHT=HEIGHT;glutFullScreen();}else{glutReshapeWindow(oWIDTH,oHEIGHT);}break;}
0 commit comments