import { Point, RectangleCorners } from "./interfaces"; /** * Compute the four axis between corners of rectangle A and corners of * rectangle B. This is needed later to check an eventual collision. * * @param {array} An array of rectangle A's four corners (x, y). * @param {array} An array of rectangle B's four corners (x, y). * @return {array} An array of four axis defined by their coordinates (x,y). */ export default function axis(c1: RectangleCorners, c2: RectangleCorners): [Point, Point, Point, Point];