From af72cf3cc891082c3ae4172b2a1e02d2bc71bc98 Mon Sep 17 00:00:00 2001 From: ikpil Date: Mon, 5 Feb 2024 13:56:39 +0900 Subject: [PATCH] replace comment in DtNode --- src/DotRecast.Detour/DtNode.cs | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/src/DotRecast.Detour/DtNode.cs b/src/DotRecast.Detour/DtNode.cs index ed94100..d061fe8 100644 --- a/src/DotRecast.Detour/DtNode.cs +++ b/src/DotRecast.Detour/DtNode.cs @@ -27,31 +27,14 @@ namespace DotRecast.Detour { public readonly int index; - /** Position of the node. */ - public RcVec3f pos = new RcVec3f(); - - /** Cost of reaching the given node. */ - public float cost; - - /** Total cost of reaching the goal via the given node including heuristics. */ - public float total; - - /** Index to parent node. */ - public int pidx; - - /** - * extra state information. A polyRef can have multiple nodes with different extra info. see DT_MAX_STATES_PER_NODE - */ - public int state; - - /** Node flags. A combination of dtNodeFlags. */ - public int flags; - - /** Polygon ref the node corresponds to. */ - public long id; - - /** Shortcut found by raycast. */ - public List shortcut; + public RcVec3f pos; // Position of the node. + public float cost; // Cost from previous node to current node. + public float total; // Cost up to the node. + public int pidx; // Index to parent node. + public int state; // extra state information. A polyRef can have multiple nodes with different extra info. see DT_MAX_STATES_PER_NODE + public int flags; // Node flags. A combination of dtNodeFlags. + public long id; // Polygon ref the node corresponds to. + public List shortcut; // Shortcut found by raycast. public DtNode(int index) {