On Wed, Jul 25, 2012 at 12:13 AM, Greg Ewing <[email protected]>wrote:

> That's okay if all you want to do is output, but for a drawing
> program you'll probably want to transform mouse locations back
> into your world coordinate system, which means you'll need to
> know how to do it yourself.
>

While you probably *should* be doing this yourself (especially in the
post-immediate-mode era), legacy OpenGL will actually handle this for you
too. Look into the gluProject/gluUnProject functions if you are interested.

-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to