Skip to main content

make_offset_rounded_box

Function make_offset_rounded_box 

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

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