1
0
Fork 0

Spectre/Game/GameTime: Store max accumulated time in a member variable and calculate it once in setTimeStep()

This commit is contained in:
Henrik Hautakoski 2020-12-18 18:26:22 +01:00
parent 2a608805b5
commit db695f11f6
2 changed files with 4 additions and 2 deletions

View file

@ -39,6 +39,7 @@ protected :
Stopwatch m_watch;
Time m_acc;
Time m_max_acc;
// Timeslice.
Time m_slice;