pub fn least_separation_4<T>(
    sep1: [T; 2],
    sep2: [T; 2],
    sep3: [T; 2],
    sep4: [T; 2]
) -> [T; 2]where
    T: Float,
Expand description

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.