diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-22 07:38:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-22 07:40:06 +0200 |
commit | 0fbb841c2dd5c76de867f47a9cf6d1d0fc83d9ee (patch) | |
tree | c266fd65fc27bda5de453fce26feaf16a85fe7ff /main | |
parent | 4c91679a1cdbb1804f1ddd570e020269c4a59524 (diff) |
wip
Diffstat (limited to 'main')
-rw-r--r-- | main/draw.cpp | 2 | ||||
-rw-r--r-- | main/main-impl.hpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index 78cd1906..b21bbc8a 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -123,6 +123,7 @@ auto main_impl::get_draw_bounds() const noexcept -> draw_bounds return {x0, x1, y0, y1}; } +#if 0 bool main_impl::draw_lights_for_chunk(chunk& c, Vector2b neighbor_offset) noexcept { bool ret = false; @@ -166,6 +167,7 @@ bool main_impl::draw_lights(chunk& c, const std::array<chunk*, 8>& ns) noexcept _lightmap_shader.end_accum(); return ret; } +#endif void main_impl::draw_world() noexcept { diff --git a/main/main-impl.hpp b/main/main-impl.hpp index a6457524..2afac162 100644 --- a/main/main-impl.hpp +++ b/main/main-impl.hpp @@ -121,8 +121,8 @@ private: void recalc_viewport(Vector2i fb_size, Vector2i win_size) noexcept; void draw_world() noexcept; - bool draw_lights(chunk& c, const std::array<chunk*, 8>& neighbors) noexcept; - bool draw_lights_for_chunk(chunk& c, Vector2b neighbor_offset) noexcept; + //bool draw_lights(chunk& c, const std::array<chunk*, 8>& neighbors) noexcept; + //bool draw_lights_for_chunk(chunk& c, Vector2b neighbor_offset) noexcept; draw_bounds get_draw_bounds() const noexcept override; |