Skip to main content

make_offset_box

Function make_offset_box 

Source
pub fn make_offset_box(
    half_width: f32,
    half_height: f32,
    center: Vec2,
    rotation: Rot,
) -> Polygon
Expand description

Make an offset box, bypassing the need for a convex hull. (b2MakeOffsetBox)