Reset the timer to zero
| 137 | |
| 138 | // Reset the timer to zero |
| 139 | inline void Timer::reset() { |
| 140 | mAccumulator = std::chrono::milliseconds::zero(); |
| 141 | mStartTime = clock::now(); |
| 142 | mLastUpdateTime = mStartTime; |
| 143 | } |
| 144 | |
| 145 | // True if it's possible to take a new step |
| 146 | inline bool Timer::isPossibleToTakeStep(std::chrono::duration<double> timeStep) const { |
nothing calls this directly
no outgoing calls
no test coverage detected