public bool IsInside(aabb other) { return(ll.x > other.ll.x && ll.y > other.ll.y && ur.x < other.ur.x && ur.y < other.ur.y); }
public bool Intersects(aabb other) { return(!(ll.x > other.ur.x && ur.x < other.ll.x) && !(ll.y > other.ur.y && ur.y < other.ll.y)); }