SDL_GetRectUnionFloat3
Calculate the union of two rectangles with float precision.
Usage
#include "SDL3/SDL.h"
bool SDL_GetRectUnionFloat(const SDL_FRect *A, const SDL_FRect *B, SDL_FRect *result);
Header file
Defined in SDL3/SDL_rect.h
Function parameters
A
|
an |
|---|---|
B
|
an |
result
|
an |
Return value
Returns true on success or false on failure; call
SDL_GetError () for more information.