import { RectangleCorners } from "./interfaces"; /** * Check whether two rectangles collide on each one of their four axis. If * all axis collide, then the two rectangles do collide on the plane. * * @param {array} Rectangle A's corners. * @param {array} Rectangle B's corners. * @return {boolean} True if the rectangles collide. */ export default function collision(c1: RectangleCorners, c2: RectangleCorners): boolean;