Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_astar.h')
-rw-r--r--source/blender/blenlib/BLI_astar.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_astar.h b/source/blender/blenlib/BLI_astar.h
index 99e0dcd1a27..6edb97c1eca 100644
--- a/source/blender/blenlib/BLI_astar.h
+++ b/source/blender/blenlib/BLI_astar.h
@@ -54,9 +54,13 @@ typedef struct BLI_AStarGNode {
typedef struct BLI_AStarSolution {
/* Final 'most useful' data. */
- int steps; /* Number of steps (i.e. walked links) in path (nodes num, including start and end, is steps + 1). */
- int *prev_nodes; /* Store the path, in reversed order (from destination to source node), as indices. */
- BLI_AStarGNLink **prev_links; /* Indices are nodes' ones, as prev_nodes, but they map to relevant link. */
+ /** Number of steps (i.e. walked links) in path
+ * (nodes num, including start and end, is steps + 1). */
+ int steps;
+ /** Store the path, in reversed order (from destination to source node), as indices. */
+ int *prev_nodes;
+ /** Indices are nodes' ones, as prev_nodes, but they map to relevant link. */
+ BLI_AStarGNLink **prev_links;
void *custom_data;