b2MakeBox

Function b2MakeBox 

Source
pub unsafe extern "C" fn b2MakeBox(
    halfWidth: f32,
    halfHeight: f32,
) -> b2Polygon
Expand description

Make a box (rectangle) polygon, bypassing the need for a convex hull. @param halfWidth the half-width (x-axis) @param halfHeight the half-height (y-axis)