galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Time.cpp File Reference
#include "Time.hpp"
+ Include dependency graph for Time.cpp:

Go to the source code of this file.

Namespaces

namespace  galaxy
 Animated.cpp galaxy.
 
namespace  galaxy::time
 

Functions

auto galaxy::time::now () noexcept -> std::chrono::local_time< std::chrono::system_clock::duration >
 Current local time.
 
void galaxy::time::dt (const double dt) noexcept
 Set galaxy delta time.
 
double galaxy::time::dt () noexcept
 Get galaxy delta time.
 

Variables

static double galaxy::time::s_delta_time = 0.0