public static boolean intersect(BoundingBox a, BoundingBox b)
	{
		if(pointIn(a, b.p1) || pointIn(a, b.p2) || pointIn(a, b.p3) || pointIn(a, b.p4))
		{
			return true;
		}
		if(pointIn(b, a.p1) || pointIn(b, a.p2) || pointIn(b, a.p3) || pointIn(b, a.p4))
		{
			return true;
		}
		return false;
	}