qml-box2d/qml-box2d — pull request #18 by folibis (2014-03-26 00:43:35+00:00)
Title: Improve DebugDraw item

I've found that `DebugDraw` object was created each time step so it overloads CPU. I've changed it and maked some improvements:

- Added missed `DrawTransform` function (I taked Testbed as example)
- Added axis painting for circle to visualize rotation
- Added new property to select type of bodies for painting.
`debugShape: DebugDraw.Polygon | DebugDraw.Circle`
- Added new property to set type of objects for painting.
`debugFlag: DebugDraw.ShapeBit| DebugDraw.JointBit`
- Added new property to scale painted axes.
`axisScale: 0.5`