SDL_GetRectUnionFloat
Calculate the union of two rectangles with float precision.
- Provided by: libsdl3-doc (Version: 3.4.2+ds-1ubuntu1)
- Source: libsdl3
- Report a bug
Calculate the union of two rectangles with float precision.
#include <SDL3/SDL_rect.h>
bool SDL_GetRectUnionFloat(const SDL_FRect *A, const SDL_FRect *B, SDL_FRect *result);
Returns true on success or false on failure; call SDL_GetError() for more information.
It is safe to call this function from any thread.
This function is available since SDL 3.2.0.