On 29 March 2010 21:26, George Oliver <[email protected]> wrote: > In experimenting it seems like I can substitute a glLoadIdentity in place of > the Pop/Push of the matrix, like: > > @window.event > def on_draw(): > window.clear() > glLoadIdentity() > glTranslatef(-W_W/2, -W_H/2, -1000) > batch.draw() > > Is that doing the same thing by resetting the matrix, or is that not > recommended?
That depends on what you want to do. Read The Fine Manual. :-) -- Mikael Lind http://elemel.se/ -- 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.
