diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/draw.cpp | 2 | ||||
-rw-r--r-- | main/main-impl.hpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index 88cd2745..1cb9b396 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -127,7 +127,7 @@ void main_impl::draw_world() noexcept GL::Renderer::disable(GL::Renderer::Feature::DepthTest); } -bool main_impl::check_chunk_visible(const Vector2d& offset, const Vector2i& size) noexcept +bool floormat_main::check_chunk_visible(const Vector2d& offset, const Vector2i& size) noexcept { constexpr Vector3d len = dTILE_SIZE * TILE_MAX_DIM20d; enum : std::size_t { x, y, }; diff --git a/main/main-impl.hpp b/main/main-impl.hpp index 2ea8f940..9178d8a6 100644 --- a/main/main-impl.hpp +++ b/main/main-impl.hpp @@ -90,7 +90,6 @@ private: void draw_world() noexcept; draw_bounds get_draw_bounds() const noexcept override; - [[nodiscard]] static bool check_chunk_visible(const Vector2d& offset, const Vector2i& size) noexcept; char maybe_register_debug_callback(fm_gpu_debug flag); void register_debug_callback(); |