diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-21 16:13:13 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-21 16:13:13 +0300 |
| commit | 338353777c95d23bb93066e53364b13f46b51964 (patch) | |
| tree | 7e02e96a43e75fa35f796e2278e5fc26cc6e75cb | |
| parent | e50ce34ae6fc52b919ed3a43af1b6b41f0240bd0 (diff) | |
| download | astar-338353777c95d23bb93066e53364b13f46b51964.tar.xz | |
Remove a TODO
| -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; |
