FRect.hasIntersection

Wraps SDL_HasIntersectionF (from SDL 2.0.22) which sees whether two dsdl2.FRects intersect each other

struct FRect
const @trusted
static if(sdlSupport >= SDLSupport.v2_0_22)
bool
hasIntersection

Parameters

rect FRect

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

Return Value

Type: bool

true if both have intersection with each other, otherwise false

Meta