Rect.hasIntersection

Wraps SDL_HasIntersection which sees whether two dsdl2.Rects intersect each other

struct Rect
const @trusted
bool
hasIntersection

Parameters

other Rect

other dsdl2.Rect to check its intersection of with the dsdl2.Rect

Return Value

Type: bool

true if both have intersection with each other, otherwise false

Meta