Scaling mouse coordinates for GlScale?

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-06-06T02:17:02Z Indexed on 2010/06/06 2:22 UTC
Read the original article Hit count: 272

Filed under:
|
|
|

Right now I have a GL context that is set up with a top left coordinate system. I made my mouse so that its 0,0 is the top left of the Open GL frame. If I apply GlScalef(2,2,2) for example to my scene, how would I have to change my mouse so that drawing stil maps out correctly. Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about c