diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 18:44:19 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 18:44:19 +0100 |
commit | c021cbd3b8b93fac6d8f5950476bee1cf5f1a2cb (patch) | |
tree | b92a26556423996521aa02c069916bc3ab743627 /main | |
parent | 6e2d1e5842e9805f33cab7f0a8385c3ebb466172 (diff) |
remove obsolete comments
Diffstat (limited to 'main')
-rw-r--r-- | main/draw.cpp | 5 | ||||
-rw-r--r-- | main/setup.cpp | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index 76081f9b..aef10add 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -84,7 +84,7 @@ void main_impl::draw_world() noexcept GL::Renderer::disable(GL::Renderer::Feature::DepthTest); } -void main_impl::do_update() // todo! move to separate file +void main_impl::do_update() { constexpr auto eps = 1e-5f; auto dt = timeline.update(); @@ -112,7 +112,7 @@ void main_impl::bind() noexcept framebuffer.fb.bind(); } -void main_impl::drawEvent() // todo! move to separate file (with `do_update') +void main_impl::drawEvent() { _shader.set_tint({1, 1, 1, 1}); @@ -146,5 +146,4 @@ ArrayView<clickable> main_impl::clickable_scenery() noexcept { return { _clickable_scenery.data(), _clickable_scenery.size() }; } - } // namespace floormat diff --git a/main/setup.cpp b/main/setup.cpp index 8edf38e3..70b1563b 100644 --- a/main/setup.cpp +++ b/main/setup.cpp @@ -6,7 +6,7 @@ #include <Magnum/GL/Renderer.h> #include <Magnum/GL/RenderbufferFormat.h> #include <Magnum/GL/TextureFormat.h> -#include <algorithm> // todo! std::minmax +#include <algorithm> // todo std::minmax namespace floormat { @@ -115,7 +115,7 @@ static int get_window_refresh_rate(SDL_Window* window) return 30; } -void main_impl::update_window_state() // todo! window minimized, out of focus, fake vsync etc +void main_impl::update_window_state() // todo window minimized, out of focus, fake vsync etc { } |