drawBoundingBox

fun Canvas.drawBoundingBox(box: BoundingBox, color: Color = Color.RED)

Draws a 3D bounding box on the canvas.

Parameters

box

The bounding box to draw.

color

The color of the bounding box lines. Defaults to red.