mk_box2d_debug_drawfunction
bool mk_box2d_debug_draw(b2WorldId world, mk_canvas_t canvas, float screen_scale, const mk_box2d_debug_draw_desc *desc)Draw authoritative Box2D state into an already-active Canvas.
| Parameter | Type | Description |
|---|---|---|
world | b2WorldId | Value for world. |
canvas | mk_canvas_t | Value for canvas. |
screen_scale | float | Value for screen scale. |
desc | const mk_box2d_debug_draw_desc * | Configuration descriptor. |
Returns True when the operation succeeds.