On 9/26/08, Ragzouken <[EMAIL PROTECTED]> wrote: > > Is it any more efficient to change only the y coords of a vertex > list's texture coords rather than both x and y if you know that frames > of the same animation are vertically aligned?
In general, yes; though the logic in iterating past every second (or third) float in a vertex list may outweigh the benefit. Note that using a slice with a step effectively implements the same operation, though pyglet handles the iteration for you (probably slower than you could have done, due to generality). Alex. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
