Utility for converting time values to milliseconds.
More...
#include <flint/time/time.h>
|
| static FLINT_API Uint64 | s_milliseconds (Uint64 ms) |
| | Convert milliseconds to the internal millisecond representation (identity).
|
| |
| static FLINT_API Uint64 | s_seconds (float sec) |
| | Convert seconds to milliseconds.
|
| |
Utility for converting time values to milliseconds.
Definition at line 65 of file time.h.
◆ s_milliseconds()
| static FLINT_API Uint64 Flint::Time::s_milliseconds |
( |
Uint64 | ms | ) |
|
|
static |
Convert milliseconds to the internal millisecond representation (identity).
- Parameters
-
| ms | Duration in milliseconds. |
- Returns
- The same value as a Uint64.
◆ s_seconds()
| static FLINT_API Uint64 Flint::Time::s_seconds |
( |
float | sec | ) |
|
|
static |
Convert seconds to milliseconds.
- Parameters
-
- Returns
- Equivalent duration in milliseconds, rounded to the nearest ms.
The documentation for this class was generated from the following file: