On GLUT glutkeyboardfunc it returns 3 values I understand the char parameter but don't understand the other 2 are. Want do these parameters mean?

有帮助吗?

解决方案

The additional params are the x and y callback parameters indicate the mouse location in window relative coordinates when the key was pressed

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top