OpenGL-鼠标交互

1. 检测鼠标的clickio   glutMouseFunc( (void)(*func) ( int button, int state, int x, int y ) )class   button: GLUT_LEFT_BUTTON, GLUT_MIDDLE_BUTTON, BLUT_RIGHT_BUTTONcli state: GLUT_DOWN, GLUT_UPword x,y: 左上
相关文章
相关标签/搜索