neoGFX
Cross-platform C++ app/game engine
chrono.hpp File Reference

Go to the source code of this file.

Namespaces

 neogfx::game
 
 neogfx::game::chrono
 

Typedefs

typedef scalar neogfx::game::time_interval
 
typedef std::optional< time_interval > neogfx::game::optional_time_interval
 
typedef int64_t neogfx::game::step_time_interval
 
typedef std::optional< step_time_interval > neogfx::game::optional_step_time_interval
 
typedef step_time_interval neogfx::game::step_time
 
typedef std::optional< step_time > neogfx::game::optional_step_time
 

Functions

constexpr double neogfx::game::chrono::to_milliseconds (const flicks ns)
 
step_time_interval neogfx::game::to_step_time (time_interval aTime, step_time_interval aStepInterval)
 
step_time_interval neogfx::game::to_step_time (optional_time_interval &aTime, step_time_interval aStepInterval)
 
time_interval neogfx::game::from_step_time (step_time_interval aStepTime)