Data Structures | |
| struct | b2DebugDraw |
| This struct holds callbacks you can implement to draw a Box2D world. More... | |
Enumerations | |
| enum | b2HexColor |
| These colors are used for debug draw and mostly match the named SVG colors. More... | |
Functions | |
| b2HexColor | b2GetGraphColor (int index) |
| Get the visualization color assigned to a constraint graph color slot. | |
| b2DebugDraw | b2DefaultDebugDraw (void) |
| Use this to initialize your drawing interface. | |
| enum b2HexColor |
These colors are used for debug draw and mostly match the named SVG colors.
See https://www.rapidtables.com/web/color/index.html https://johndecember.com/html/spec/colorsvg.html https://upload.wikimedia.org/wikipedia/commons/2/2b/SVG_Recognized_color_keyword_names.svg
| b2DebugDraw b2DefaultDebugDraw | ( | void | ) |
Use this to initialize your drawing interface.
This allows you to implement a subset of the drawing functions.
| b2HexColor b2GetGraphColor | ( | int | index | ) |
Get the visualization color assigned to a constraint graph color slot.
The last index (B2_GRAPH_COLOR_COUNT - 1) is the overflow color.