diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-21 20:56:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-21 20:56:09 +0200 |
commit | aaf5245aba8daba3ec0b47974b8b7c7880a6738b (patch) | |
tree | 8296094dd0a42228d2d8e2bac348092c5d21bfef /src/path-search.cpp | |
parent | 0e4539dfcb89e19f9d3917a86879c9eb658db7e4 (diff) |
a
Diffstat (limited to 'src/path-search.cpp')
-rw-r--r-- | src/path-search.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/path-search.cpp b/src/path-search.cpp index 66a7e4af..2f799f73 100644 --- a/src/path-search.cpp +++ b/src/path-search.cpp @@ -22,11 +22,6 @@ constexpr auto never_continue_ = path_search::pred{never_continue_1}; constexpr auto always_continue_1 = [](collision_data) constexpr { return path_search_continue::pass; }; constexpr auto always_continue_ = path_search::pred{always_continue_1}; -inline bool rect_intersects(Vector2 min1, Vector2 max1, Vector2 min2, Vector2 max2) -{ - return bool{min1 < max2} && bool{max1 > min2}; -} - } // namespace auto path_search::never_continue() noexcept -> const pred& { return never_continue_; } |