2009/12/15 Corbin <[email protected]>:

> With all of that said, the pyglet way is probably a win, but I'm still
> kind of annoyed that there's no matrix math in pyglet. I'm doubly
> annoyed that subclasses of Sprite have to override _update_position()
> (A private method!) in order to change anything about the way that it
> gets drawn, since the method is so inflexible.

Alex Holkner has written a couple of Python geometry libraries that
you may want to have a look at.

http://code.google.com/p/pyeuclid/
http://code.google.com/p/vectypes/

Regarding _update_position(), I believe that single leading underscore
in Python should be read "internal" or "protected" rather than
"private".

http://docs.python.org/tutorial/classes.html#private-variables

-- 
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.


Reply via email to