diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-13 03:40:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-13 04:48:56 +0200 |
commit | ba8b4579d3daa545c98f6e6ef19e02f155515c88 (patch) | |
tree | c6e46405b09b53929077ffc67b87a36079df8ece /test | |
parent | ded20797c675228ff3d5c0bbc1e5f370e7f157b1 (diff) |
add right names for predicate functions
Diffstat (limited to 'test')
-rw-r--r-- | test/path-search.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |