Convert NSOpenGLView pixel coordinates to OpenGL world coordinates
Convert NSOpenGLView pixel coordinates to OpenGL world coordinates
- Subject: Convert NSOpenGLView pixel coordinates to OpenGL world coordinates
- From: Ian was here <email@hidden>
- Date: Thu, 4 Oct 2007 09:36:56 -0700 (PDT)
I've googled this one and have found some interesting
info, but no clear-cut way to convert an
NSOpenGLView's X,Y coordinate to an OpenGL world's X,Y
coordinate (not too concerned with the Z coordinate).
I need to know if two dimensional objects are getting
mouse clicks.
Has anyone done this before or know of any sample
code? Thanks.
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden