Jump to content
  • Advertisement

Archived

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

SKSlayer

Mouse

This topic is 6640 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!