Expand description
Debug Visualization API
Abstract debug rendering interface for visualizing physics state. Outputs wireframe geometry (lines, points) that can be rendered by any graphics backend.
§Usage
Implement DebugRenderer trait for your graphics backend, then call
debug_draw_world() each frame.
Structs§
- Debug
Color - RGBA color for debug rendering (0-255 per channel)
- Debug
Draw Data - Collected debug geometry for a frame.
- Debug
Draw Flags - What to draw in debug mode
- Debug
Line - A debug line segment.
- Debug
Point - A debug point.
Functions§
- debug_
draw_ world - Draw debug visualization for a physics world