From fec03e6f11b267dc90646c3c4d5458571ec74b7a Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 25 Feb 2024 20:19:48 +0100 Subject: comments --- source/kit/astar.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/source/kit/astar.h b/source/kit/astar.h index f1758fc..b4a5909 100644 --- a/source/kit/astar.h +++ b/source/kit/astar.h @@ -1,5 +1,8 @@ -// A* graph search algorithm +// ================================================================ // +// A* graph search algorithm +// +// ================================================================ // TODO // - Nearest: save the nearest node when the search is failed or not @@ -156,6 +159,12 @@ static s32 astar_path(astar_state_t *state, i64 *size, i64 *path) { #endif +// ================================================================ +// +// Algorithm template +// +// ================================================================ + #ifdef ASTAR_TEMPLATE #ifdef __cplusplus -- cgit v1.2.3