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

◆ s_seconds()

static Uint64 Flint::Time::s_seconds ( float sec)
static

Convert seconds to milliseconds.

Parameters
secDuration in seconds.
Returns
Equivalent duration in milliseconds, rounded to the nearest ms.