From 22998e309dcf6c95c36730f86030bece0fca9667 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 25 Oct 2022 20:51:18 +0200 Subject: a --- floormat/main.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'floormat') 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 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 -- cgit v1.2.3