drawShape(scale, world, body, fixture)
Renders the shape in the given fixtue in a box2d world to the processing window.
Name | Type | Description |
---|---|---|
scale | float | scale factor for physics. See also: scaleFactor |
world | World | world that the shape is in. See also: createWorld |
body | Body | body that this function renders. |
fixture | Fixture | fixture that this function renders. |
Returns | void |