Struct TimeStep#
Defined in File TimeStep.h
Struct Documentation#
-
struct TimeStep#
Struct for a single step in time.
Public Functions
-
explicit constexpr TimeStep(f32 time) noexcept#
Constructor for a single step in time.
- Parameters:
time – Time for the time step in seconds.
-
constexpr ~TimeStep() = default#
Destructor,.
-
constexpr operator f32() const noexcept#
Convenience operator. Same as GetSeconds();.
- Returns:
Time of the time step in seconds.
-
explicit constexpr TimeStep(f32 time) noexcept#