Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top