SDL_HasRectIntersectionFloat

Determine whether two rectangles intersect with float precision.

If either pointer is NULL the function will return false.

extern (C) nothrow @nogc extern
bool
SDL_HasRectIntersectionFloat
(
const(SDL_FRect)* A
,
const(SDL_FRect)* B
)

Parameters

A const(SDL_FRect)*

an SDL_FRect structure representing the first rectangle.

B const(SDL_FRect)*

an SDL_FRect structure representing the second rectangle.

Return Value

Type: bool

true if there is an intersection, false otherwise.

See Also

Meta