forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a variant of closest_points_first that takes a predicate
Part of CleverRaven#75945. The variant will be used in pathfinding to find the nearest ramp or stairs without having to enumerate all points. * Make find_point_closest_first generic over point and tripoint. * Extract common code between closest_points_first variants
- Loading branch information
Showing
2 changed files
with
95 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters