From 6a050c968bbeefd7052cb3fedea86221e8f55489 Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Sun, 29 Nov 2009 10:55:21 +0000 Subject: [PATCH] git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@219 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- sources/reactphysics3d/engine/Timer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/reactphysics3d/engine/Timer.h b/sources/reactphysics3d/engine/Timer.h index 8c61fe36..107712a8 100644 --- a/sources/reactphysics3d/engine/Timer.h +++ b/sources/reactphysics3d/engine/Timer.h @@ -56,9 +56,9 @@ class Timer { double getAccumulator() const; // Return the accumulator value void setCurrentDisplayTime(const Time& displayTime); // Set the current display time - void update(); // Update the timer - double getInterpolationFactor() const; // Compute and return the interpolation factor between two body states - void updateDisplayTime(const Time& newDisplayTime); // Set the new currentDisplayTime value + void update(); // Update the timer by adding some time value (or timeStep by default) to the current time + double getInterpolationFactor() const; // Compute and return the interpolation factor between two body states + void updateDisplayTime(const Time& newDisplayTime); // Set the new currentDisplayTime value }; // --- Inline functions --- // @@ -110,7 +110,7 @@ inline void Timer::setCurrentDisplayTime(const Time& currentDisplayTime) { this->currentDisplayTime = currentDisplayTime; } -// Update the timer +// Update the timer by adding the timeStep to the current time inline void Timer::update() { // Check if the timer is running if (isRunning) {