diff options
Diffstat (limited to 'path.c')
| -rw-r--r-- | path.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -209,7 +209,6 @@ Path astar_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t hei /* The heuristic function */ size_t (*heuristic)(Position, Position) = NULL; - /* TODO: maybe a sort of a demo with different heuristics would be cool idk */ switch (dirs) { case 4: neighbours = &neighbours_4dir; heuristic = &manhattan_distance; break; case 8: neighbours = &neighbours_8dir; heuristic = &diagonal_distance; break; |
