summaryrefslogtreecommitdiffhomepage
path: root/floormat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-08 12:00:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-08 12:00:45 +0100
commit9acf4738b15738cb2b9646481b75ba0c05a01e78 (patch)
treed8a8ce5007ea77f86d33136cdfa014e45d31d72b /floormat
parenta083f5c2124a6a907727b35a5c43d8175d396d73 (diff)
draw, editor: visualize bounding boxes
Diffstat (limited to 'floormat')
-rw-r--r--floormat/main.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/floormat/main.hpp b/floormat/main.hpp
index 7803cd3c..84f25eda 100644
--- a/floormat/main.hpp
+++ b/floormat/main.hpp
@@ -56,6 +56,7 @@ struct floormat_main
virtual global_coords pixel_to_tile(Vector2d position) const noexcept = 0;
virtual draw_bounds get_draw_bounds() const noexcept = 0;
+ [[nodiscard]] static bool check_chunk_visible(const Vector2d& offset, const Vector2i& size) noexcept;
virtual struct meshes meshes() noexcept = 0;
virtual struct world& world() noexcept = 0;