Skip to main content

region_rect_floored

Function region_rect_floored 

Source
pub fn region_rect_floored(
    region: DropRegion,
    bounds: Rect,
    factor: f32,
    floor: f32,
) -> Rect
Expand description

region_rect with band_depth’s floor applied per axis — the paint side of region_at_floored, so the zone a user sees stays the zone that drops.