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.hpp
Go to the documentation of this file.
1
7
8
#ifndef GALAXY_UTILS_TIME_HPP_
9
#define GALAXY_UTILS_TIME_HPP_
10
11
#include <chrono>
12
13
namespace
galaxy
14
{
15
namespace
time
16
{
22
[[nodiscard]]
23
auto
now
() noexcept ->
std
::chrono::local_time<
std
::chrono::system_clock::duration>;
24
30
void
dt
(const
double
dt
) noexcept;
31
37
[[nodiscard]]
38
double
dt
() noexcept;
39
}
// namespace time
40
}
// namespace galaxy
41
42
#endif
galaxy::time::dt
double dt() noexcept
Get galaxy delta time.
Definition
Time.cpp:26
galaxy::time::now
auto now() noexcept -> std::chrono::local_time< std::chrono::system_clock::duration >
Current local time.
Definition
Time.cpp:16
galaxy
Animated.cpp galaxy.
Definition
Animated.cpp:16
std
STL namespace.
galaxy
src
galaxy
time
Time.hpp
Generated on Fri Sep 12 2025 07:29:48 for galaxy by
1.12.0