| 296 | } |
| 297 | |
| 298 | bool Time::OnBeginPhysics(double time) |
| 299 | { |
| 300 | if (Physics.OnTickBegin(time, GetFps(PhysicsFPS), _physicsMaxDeltaTime)) |
| 301 | { |
| 302 | Current = &Physics; |
| 303 | return true; |
| 304 | } |
| 305 | return false; |
| 306 | } |
| 307 | |
| 308 | bool Time::OnBeginDraw(double time) |
| 309 | { |
nothing calls this directly
no test coverage detected