diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-25 20:51:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-25 20:51:18 +0200 |
commit | 22998e309dcf6c95c36730f86030bece0fca9667 (patch) | |
tree | c35f1747655a3112f09ff23372811c8ac0259902 /floormat | |
parent | 343ce367077777dab463816a0d1c5bb9bee9c837 (diff) |
a
Diffstat (limited to 'floormat')
-rw-r--r-- | floormat/main.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/floormat/main.hpp b/floormat/main.hpp index 6ba3b4c8..da7e59b9 100644 --- a/floormat/main.hpp +++ b/floormat/main.hpp @@ -26,7 +26,7 @@ struct floormat_main virtual Magnum::Math::Vector2<int> window_size() const noexcept = 0; virtual tile_shader& shader() noexcept = 0; virtual const tile_shader& shader() const noexcept = 0; - constexpr float smoothed_dt() const noexcept { return _frame_time; } + constexpr float smoothed_dt() const noexcept { return _frame_time1; } virtual fm_settings& settings() noexcept = 0; virtual const fm_settings& settings() const noexcept = 0; @@ -42,7 +42,7 @@ struct floormat_main [[nodiscard]] static floormat_main* create(floormat_app& app, fm_settings&& options); protected: - float _frame_time = 0; + float _frame_time1 = 0, _frame_time2 = 0; }; } // namespace floormat |