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

◆ getGlobalBounds()

template<typename T >
std::optional< Rect > Flint::Rect< T >::getGlobalBounds ( ) const
inline

Return this rect as an optional, or nullopt if it has zero/negative area.

Returns
This rect wrapped in std::optional, or std::nullopt if degenerate.

Definition at line 189 of file types.h.