Hi this seems like a basic question, but it has me stumped. I am trying to discern the difference between the two methods of getting the mouse coordinates and adjusting for window ratio, both of which i have placed in the attached patch.
one method works in situations such as, Federico's AMS tutorials. For a specific working example see the GL3 image to particles examples. (a non working example is in my attached patch)
the other method, which i got from Micron works in my attached patch.
If this is not just a misunderstanding on my part, I would like to know when to implement one example over the other.
Thanks for any help