文件名称:keyboard_mouse
文件大小:2KB
文件格式:CPP
更新时间:2016-06-21 17:55:50
opengl keyboard mouse
keyboard 、mouse示例 void mouse (int button, int state, int x, int y) { ///glutPostRedisplay(); } void keyboard(unsigned char key, int x, int y) { //// glutPostRedisplay(); } void motion (int x, int y) { // ////// glutPostRedisplay(); }