public void OnUpdateBeforeDraw() { Fps.Tick(); PhysicsTimes.Add(_phyTimeAccu); _phyTimeAccu = 0.0f; }
public void OnPhysicsUpdate(double physicClockMilliseconds, int numSteps, float processingTimeMilliseconds) { PhysicsTicks.Tick(numSteps); _phyTimeAccu += processingTimeMilliseconds; }