Archived

This topic is now archived and is closed to further replies.

SKSlayer

Mouse

Recommended Posts

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)?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites