summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/astar.h11
1 files changed, 10 insertions, 1 deletions
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