Skip to main content

make_box

Function make_box 

Source
pub fn make_box(half_width: f32, half_height: f32) -> Polygon
Expand description

Make a box (rectangle) polygon, bypassing the need for a convex hull. (b2MakeBox)