Closed Erbelding closed 9 years ago
Instead of passing (float dt) around everywhere in the update and render loops, time should be a singleton that contains get methods for all of the relevant values (deltaTime, totalTime, FPS, etc.).
Instead of passing (float dt) around everywhere in the update and render loops, time should be a singleton that contains get methods for all of the relevant values (deltaTime, totalTime, FPS, etc.).