b2MakeOffsetPolygon

Function b2MakeOffsetPolygon 

Source
pub unsafe extern "C" fn b2MakeOffsetPolygon(
    hull: *const b2Hull,
    position: b2Vec2,
    rotation: b2Rot,
) -> b2Polygon
Expand description

Make an offset convex polygon from a convex hull. This will assert if the hull is not valid. @warning Do not manually fill in the hull data, it must come directly from b2ComputeHull