Function graphics::math::least_separation_4
[−]
[src]
pub fn least_separation_4(sep1: Vec2d, sep2: Vec2d, sep3: Vec2d, sep4: Vec2d) -> Vec2d
Returns the least separation out of four.
Each seperation can be computed using separation
function.
The separation returned can be used
to solve collision of rectangles.