Skip to main content

resolve_collisions

Function resolve_collisions 

pub fn resolve_collisions(moving: Placement, others: &[Placement]) -> Placement
Expand description

Move moving out of every display it overlaps, each time along the shortest way out that does not land on another display.