summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r--src/chunk.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp
index 3d3bbe5a..9efa0c9d 100644
--- a/src/chunk.hpp
+++ b/src/chunk.hpp
@@ -98,6 +98,8 @@ public:
class world& world() noexcept;
[[nodiscard]] bool can_place_object(const object_proto& proto, local_coords pos);
+ [[nodiscard]] bool find_hole_in_bbox(CutResult<float>::rect& hole, Vector2 min, Vector2 max);
+ [[nodiscard]] static bool find_hole_in_bbox(CutResult<float>::rect& hole, Chunk_RTree& rtree, Vector2 min, Vector2 max);
void on_teardown();
bool is_teardown() const;