kivy / cymunk

Cython port of Pymunk
http://readthedocs.org/docs/cymunk/en/latest/
MIT License
45 stars 29 forks source link

Added offset support for BoxShapes #49

Closed SleepProgger closed 6 years ago

SleepProgger commented 6 years ago

This PR mainly adds support for offset to BoxShapes by extending them from Poly instead of Shape. This is basically what is happening in chipmunk too. cpBoxShapeNew is just a helper function calling cpPolyShapeNew and ignoring the offset.

Additional changes in this PR:

The only two cases i can thing of which might break due to this changes are: