Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ fromNative()

template<typename T >
static auto Flint::Rect< T >::fromNative ( const SDL_Rect< T > & rect)
inlinestatic

Construct a Rect from an SDL_Rect.

Parameters
rectSource SDL rectangle.

Definition at line 170 of file types.h.