Hey ew,

   As far as I know, if you want to draw a true line (ie. not a 
sprite.Sprite object) you will have to implement your own math routines to 
do the necessary transformations.  You could use the euclid.py math module 
to make it easier (it was written by the same guys who wrote pyglet, google 
it).  You could create a line primitive that has a .rotate and .translate 
method.  Look at the sprite.Sprite class for how groups and batches work 
together and how an object position can be set/ rotated (._update_position) 
for a 2d sprite and extrapolate it needed.

Denis

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to