[][src]Function duckduckgeo::collide_with_rect

pub fn collide_with_rect<N: Float>(
    botr: &Rect<N>,
    wallr: &Rect<N>
) -> Option<WallSide>

Returns which cardinal direction the specified rectangle is closest to.