Skip to main content

make_rounded_box

Function make_rounded_box 

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

Make a rounded box, bypassing the need for a convex hull. (b2MakeRoundedBox)