On Apr 21, 2014, at 15:23 , Eric Shepherd <the.she...@gmail.com> wrote:
> I added code to dump the Y-coordinate of my mouse while I move it around in > the NSOpenGLView, and sure enough, it's reaching the value that should be the > bottom edge well above the bottom. Are you sure you’re using the correct coordinate conversions? Based on what Graham said, there are actually 3 coordinate systems involved — the content view coordinates, the content (i.e. non-frame) coordinates, and the frame coordinates. Officially AFAIK there are only 2 coordinates systems (frame and content). If you’re accidentally mixing coordinate systems, perhaps you don’t need to adjust the calculations, but just use a different conversion? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com