is Intersecting
fun isIntersecting(topLeftX: Float, topLeftY: Float, bottomRightX: Float, bottomRightY: Float): Boolean
Returns true if the bounding box intersects with the given parameters
Return
true if the bounding box intersects with the given parameters
Parameters
top Left X
the top left x coordinate to intersect with
top Left Y
the top left y coordinate to intersect with
bottom Right X
the bottom right x coordinate to intersect with
bottom Right Y
the bottom right y coordinate to intersect with
Returns true if the bounding box intersects other
Return
true if the bounding box intersects other