Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: mouse input newbie question

  1. #1
    Guest

    mouse input newbie question

    ...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.

  2. #2
    Guest

    Re: mouse input newbie question

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •