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.

Similar Threads

  1. Newbie Question. Drawing a Line with the mouse
    By Antonio Gonzalez in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-14-2010, 10:43 AM
  2. more than one mouse input
    By Unition in forum OpenGL: Windows
    Replies: 5
    Last Post: 04-09-2005, 02:18 AM
  3. mouse speed between sampled mouse input points
    By sunnymonk in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-06-2005, 09:43 AM
  4. Mouse Input
    By Alex Derby in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-24-2002, 12:37 PM
  5. Do 3D input with the mouse?
    By Peter in forum OpenGL: Advanced Coding
    Replies: 9
    Last Post: 07-09-2000, 04:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean