From 7508db41ed056a50b36656dd73aafcaa9e43f6e2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 24 Jul 2024 08:51:25 +0200 Subject: rename some collision_data members to be more descriptive --- src/chunk-collision.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chunk-collision.cpp') diff --git a/src/chunk-collision.cpp b/src/chunk-collision.cpp index c7f38028..45ae425f 100644 --- a/src/chunk-collision.cpp +++ b/src/chunk-collision.cpp @@ -72,7 +72,7 @@ bool find_hole_in_bbox(CutResult::rect& hole, chunk::RTree& rtree, Vector bool ret = true; rtree.Search(min.data(), max.data(), [&](uint64_t data, const chunk::RTree::Rect& r) { auto x = std::bit_cast(data); - if (x.pass == (uint64_t)pass_mode::pass && x.tag == (uint64_t)collision_type::none) + if (x.pass == (uint64_t)pass_mode::pass && x.type == (uint64_t)collision_type::none) { CutResult::rect holeʹ { .min = { r.m_min[0], r.m_min[1] }, -- cgit v1.2.3