... int y) { const GLfloat step = 0.125f; switch(key) { case GLUT_KEY_UP: Xrot -= step; break; case GLUT_KEY_DOWN: Xrot += step; break; case GLUT_KEY_LEFT: ...
確定! 回上一頁