I just remembered that the default window projection only sets an orthographic 
projection with a z range of -1 to 1. Protections are set by the Window. 
on_resize method.  You can have a look at window.__init__.py in pyglet to see 
the default behavior. 

The 1.4 beta has pluggable projections for the Window class, so you can set 
Window.projection to a custom Projection subclass to override this with the 
desired behavior. In older versions of pyglet, just set an on_redraw handler to 
set the projection in there. 

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyglet-users+unsubscr...@googlegroups.com.
To post to this group, send email to pyglet-users@googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to