Function Rect.hasIntersection
Wraps SDL_HasIntersection
which sees whether two dsdl2
s intersect each other
Parameters
Name | Description |
---|---|
other | other dsdl2 to check its intersection of with the dsdl2 |
Returns
true
if both have intersection with each other, otherwise false