| 77 | } |
| 78 | |
| 79 | float Timer::GetInterpWeightX(int num, int progress) { |
| 80 | float mult = (1.0f / (float)num); |
| 81 | return mult * (float)progress + timestep_error * mult; |
| 82 | } |
| 83 | |
| 84 | float Timer::GetRenderTime() { |
| 85 | return game_time + timestep_error * timestep; |
no outgoing calls
no test coverage detected