public static boolean testBoxPoint(final AABB box, final float x, final float y) { AABB point = new AABB(1f, 1f); point.update(new Vector(x, y)); return testBoxBox(box, point); }
public static boolean testCirclePoint(final Circle c1, final float x, final float y) { AABB box = new AABB(1f, 1f); box.update(new Vector(x, y)); return testCircleAABB(c1, box); }