View Full Version : mouse input newbie question

05-06-2001, 01:23 PM
...i cant find this anywhere.

how do i get the coordinates of my mouse pointer so i can draw at that location when the button is pressed?

any info is appriciated.

05-06-2001, 02:33 PM
In glut do you set the glutMouseFunc callback function. Do a man glutMouseFunc if you have the man pages installed. In case you want a X function can you look in the glut sources.