cf_physics_debug_draw3_defaults¶
Category: physics
GitHub: cute_physics.h
Returns a b3DebugDraw whose callbacks render through CF's 3d draw API.
| Parameters | Description |
|---|---|
thickness |
Stroke width for wireframes/segments, in world units. |
Remarks¶
Spheres, capsules, and box-shaped hulls render as draw3d's built-in solids
(hemisphere-lit, no shader required); general hulls and meshes render as
wireframes; height fields and compounds draw their bounds. drawShapes is
enabled; toggle any other option before b3World_Draw. Create the world from
cf_physics_world_def3 so the shape bake callbacks are wired.