From ba8b4579d3daa545c98f6e6ef19e02f155515c88 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 13 Sep 2023 03:40:46 +0200 Subject: add right names for predicate functions --- test/path-search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/path-search.cpp b/test/path-search.cpp index bf0fa69b..0fdd80b5 100644 --- a/test/path-search.cpp +++ b/test/path-search.cpp @@ -12,11 +12,11 @@ namespace { void test_bbox() { constexpr auto sample = [](chunk& c, search::bbox bb) { - return search::sample_rtree_1(c, bb.min, bb.max, (object_id)-1); + return search::is_passable_1(c, bb.min, bb.max, (object_id)-1); }; constexpr auto sample2 = [](world& w, chunk_coords_ ch, search::bbox bb) { - return search::sample_rtree(w, ch, bb.min, bb.max, (object_id)-1); + return search::is_passable(w, ch, bb.min, bb.max, (object_id)-1); }; constexpr auto bbox = [](Vector2i coord, rotation r) { -- cgit v1.2.3