diff options
author | erorcun <erayorcunus@gmail.com> | 2020-06-16 19:48:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 19:48:46 +0200 |
commit | 7ae0b8ef06fc6cc1410f29ebd130af736688ef6f (patch) | |
tree | 70f0be6bec28392cddb6bb583957ca3b09a30ef0 /src/core/Timer.h | |
parent | Merge pull request #634 from erorcun/miami (diff) | |
parent | CCam done (diff) | |
download | re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.gz re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.bz2 re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.lz re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.xz re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.zst re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.zip |
Diffstat (limited to 'src/core/Timer.h')
-rw-r--r-- | src/core/Timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h index 6f100c63..cbfe5794 100644 --- a/src/core/Timer.h +++ b/src/core/Timer.h @@ -27,7 +27,7 @@ public: static uint32 GetTimeStepInMilliseconds() { return ms_fTimeStep / 50.0f * 1000.0f; } static const float &GetTimeStepNonClipped(void) { return ms_fTimeStepNonClipped; } static float GetTimeStepNonClippedInSeconds(void) { return ms_fTimeStepNonClipped / 50.0f; } - static uint32 GetTimeStepNonClippedInMilliseconds(void) { return ms_fTimeStepNonClipped / 50.0f * 1000.0f; } + static float GetTimeStepNonClippedInMilliseconds(void) { return ms_fTimeStepNonClipped / 50.0f * 1000.0f; } static void SetTimeStepNonClipped(float ts) { ms_fTimeStepNonClipped = ts; } static const uint32 &GetFrameCounter(void) { return m_FrameCounter; } static void SetFrameCounter(uint32 fc) { m_FrameCounter = fc; } |