|
-
February 12th, 2007, 09:20 PM
#1
Drawing lines & mouse output
Hi all,
I would like to draw a line on a GL screen by clicking on the starting point and the ending point within a specified region.
Being rather new to openGL, i'm a bit confused as to what functions (or events) to use and what the general algorithm of doing this would be. This the general question...
I have a clue that i would need some form of mouse event/function that returns to me the screen coordinates. Does such a function exist? If it doesn't is there a way of achieving this without too much effort?
Thanks in advance...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|