diff options
Diffstat (limited to 'src/chunk-region.cpp')
-rw-r--r-- | src/chunk-region.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/chunk-region.cpp b/src/chunk-region.cpp index 79114219..6640758c 100644 --- a/src/chunk-region.cpp +++ b/src/chunk-region.cpp @@ -67,7 +67,6 @@ struct tmp_s static uint32_t get_index(Vector2i pos); void append(std::bitset<chunk_bits>& passable, Vector2i pos); [[nodiscard]] bool check_visited(std::bitset<chunk_bits>& passable, Vector2i pos, int from); - void clear(); }; uint32_t tmp_s::get_index(Vector2i pos) @@ -96,12 +95,6 @@ bool tmp_s::check_visited(std::bitset<chunk_bits>& passable, Vector2i pos, int f return true; } -void tmp_s::clear() -{ - arrayResize(stack, 0); - visited = {}; -} - tmp_s& get_tmp() { static Pointer<tmp_s> tmp = [] { |