Function SDL_GetRectUnionFloat
pub unsafe extern "C" fn SDL_GetRectUnionFloat(
A: *const SDL_FRect,
B: *const SDL_FRect,
result: *mut SDL_FRect,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Calculate the union of two rectangles with float precision.
§Parameters
A
: anSDL_FRect
structure representing the first rectangle.B
: anSDL_FRect
structure representing the second rectangle.result
: anSDL_FRect
structure filled in with the union of rectanglesA
andB
.
§Return value
Returns true on success or false on failure; call SDL_GetError()
for more
information.
§Availability
This function is available since SDL 3.2.0.