[−][src]Function graphics::math::least_separation_4
pub fn least_separation_4<T>(
sep1: Vec2d<T>,
sep2: Vec2d<T>,
sep3: Vec2d<T>,
sep4: Vec2d<T>
) -> Vec2d<T> where
T: Float,
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.