Mouse
Under Win32,
I made 2 vars that contains the position of the mouse, but, if I am in an OGL scene, How can I know where is the cursor (over which object it is) (in windowed mode)?
(you can find me on IRC : #opengl on undernet)
hi
take a look at
http://www.itknowledge.com/reference/archive/1571690735/ch19/591-593.html#Heading2 ( this is opengl superbible chapter 19)
hope that help
lunasol
take a look at
http://www.itknowledge.com/reference/archive/1571690735/ch19/591-593.html#Heading2 ( this is opengl superbible chapter 19)
hope that help
lunasol
:o)
Yeah, but, the bible uses glut !
I want pure Win32 Code
Yeah, but, the bible uses glut !
I want pure Win32 Code
(you can find me on IRC : #opengl on undernet)
I don''t think there is anything in "pure" win32 code that will let you select what is on the screen and return it''s coordinates...
||--------------------------||Black Hole Productionshttp://bhp.nydus.netResident expert on stuffmax621@barrysworld.com||--------------------------||
there MUST be :o)
I know how to get mouse coordinates but not how to bring them back to GL
I know how to get mouse coordinates but not how to bring them back to GL
(you can find me on IRC : #opengl on undernet)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement