|
tess 0.4.0
Performance-first tile and path simulation substrate
|
#include <tess/sim/time.h>
Public Member Functions | |
| constexpr | FixedStepAccumulator (std::uint32_t base_tps, std::size_t max_ticks_per_frame) noexcept |
| constexpr auto | base_tps () const noexcept -> std::uint32_t |
| constexpr auto | max_ticks_per_frame () const noexcept -> std::size_t |
| constexpr auto | accumulated_seconds () const noexcept -> double |
| constexpr void | reset () noexcept |
| constexpr auto | consume (double real_delta_seconds, SimTimeControl control) noexcept -> FixedStepFrame |
Converts real-time deltas into bounded, deterministic fixed-tick grants.
The object owns its carry between frames and performs no allocation.