Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vue.js/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
glutkeyboardfunc x,y参数_Keyboard_Glut - Fatal编程技术网

glutkeyboardfunc x,y参数

glutkeyboardfunc x,y参数,keyboard,glut,Keyboard,Glut,在GLUT glutkeyboardfunc上,它返回3个值。我理解char参数,但不理解其他2个值。想知道这些参数的意思吗?其他参数是x和y回调参数,指示按下键时鼠标在窗口相对坐标中的位置我在询问后立即解决它。好像是鼠标x,y。

在GLUT glutkeyboardfunc上,它返回3个值。我理解char参数,但不理解其他2个值。想知道这些参数的意思吗?

其他参数是x和y回调参数,指示按下键时鼠标在窗口相对坐标中的位置

我在询问后立即解决它。好像是鼠标x,y。