Sign in to follow this  
imortales

mouse over object

Recommended Posts

imortales    122
Hi! I am using my mouse to move the object around the space (glTranslate). I need the mouse pointer to be on the same spot of the object when I move it around. The problem is that the mouse pointer moves faster than the object. I've scaled down the mouse movement and the results are better, however I would like to ensure that the mouse pointer is always on the exactly same spot of the object. What calculations are needed?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this