The vertex and color buffers for debug-redering the physics scene.
The color buffer. There is one color per vertex, and each color has four consecutive components (in RGBA format).
The lines to render. This is a flat array containing all the lines
to render. Each line is described as two consecutive point. Each
point is described as two (in 2D) or three (in 3D) consecutive
floats. For example, in 2D, the array:
[1, 2, 3, 4, 5, 6, 7, 8]
describes the two segments
[[1, 2], [3, 4]] and
[[5, 6], [7, 8]].
Generated using TypeDoc