diff options
author | aap <aap@papnet.eu> | 2020-05-08 20:58:48 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-08 20:58:48 +0200 |
commit | 10cade9f60e5648be7473effd46993bcdac3afb8 (patch) | |
tree | 17e2915c527bd5049de48e196e11076a16638b27 /src/core/Timer.h | |
parent | more small fixes (diff) | |
parent | Fix water UV on high FPS and inverted free camera (diff) | |
download | re3-10cade9f60e5648be7473effd46993bcdac3afb8.tar re3-10cade9f60e5648be7473effd46993bcdac3afb8.tar.gz re3-10cade9f60e5648be7473effd46993bcdac3afb8.tar.bz2 re3-10cade9f60e5648be7473effd46993bcdac3afb8.tar.lz re3-10cade9f60e5648be7473effd46993bcdac3afb8.tar.xz re3-10cade9f60e5648be7473effd46993bcdac3afb8.tar.zst re3-10cade9f60e5648be7473effd46993bcdac3afb8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Timer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h index 00a11409..004cda4d 100644 --- a/src/core/Timer.h +++ b/src/core/Timer.h @@ -56,6 +56,11 @@ public: friend bool GenericLoad(void); friend bool GenericSave(int file); + +#ifdef FIX_BUGS + static float GetDefaultTimeStep(void) { return 5.0f / 3.0f; } + static float GetTimeStepFix(void) { return GetTimeStep() / GetDefaultTimeStep(); } +#endif }; #ifdef FIX_BUGS |