diff options
author | Stijn Buys <ingar@osirion.org> | 2011-05-11 14:48:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-05-11 14:48:17 +0000 |
commit | 1c63cbf204b1d2c667ce9f821ccb197d0ffb0ac3 (patch) | |
tree | c2d0ff7cc4a8a264657abd0ac99017a5b664ecd2 /src/core/physics.h | |
parent | bb0f860989f84b901f80017ae0139a3fc0446dc1 (diff) |
Review of the main loop timer, converted timers from float to unsigned long,
corrected a number of timing bugs, improved client framerate stability.
Diffstat (limited to 'src/core/physics.h')
-rw-r--r-- | src/core/physics.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/physics.h b/src/core/physics.h index 3237c3a..1989410 100644 --- a/src/core/physics.h +++ b/src/core/physics.h @@ -28,7 +28,7 @@ public: static void done(); - static void frame(const unsigned long timestamp); + static void frame(const unsigned long elapsed); inline static btDefaultCollisionConfiguration *configuration() { return physics_configuration; @@ -46,9 +46,6 @@ private: static btDefaultCollisionConfiguration *physics_configuration; static btCollisionDispatcher *physics_dispatcher; static btSequentialImpulseConstraintSolver *physics_solver; - - static unsigned long physics_timestamp; - }; } // namespace core |