Intersting. Actually I was beginning to have second thoughts about this feature :) I mean, it might be confusing for the user if pymunk automatically reverse the vertices, i.e. the order of the vertices is different when you call poly.get_points(..) than it was when the polygon was created. Then again this might be such a small problem that its worth it anyway, and as you say, its a useful feature in many cases, and it is possible to turn it off for those who don't like it.
On Aug 12, 7:36 pm, Tartley <[email protected]> wrote: > On Aug 9, 9:37 pm, viblo <[email protected]> wrote: > > > note: With the newest release pymunk will automatically reorder the > > vertices if they are in the wrong order (unless its told not to). > > Hooray! You rock! This is actually of direct relevance to me - I just > added an if statement last night, to modify windings on loading > graphics from SVG in order to make pymunk happy, and it confuses my > subsequent tessellation code that sends the same data to pyglet. Let > me unleash some pip/virtualenv-fu in order to take advantage of your > latest release. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
