From a649081a5bafe90cd3d1bdfe720ffd511e137e46 Mon Sep 17 00:00:00 2001 From: ikpil Date: Tue, 14 May 2024 23:46:54 +0900 Subject: [PATCH] update comment DtMeshTile class --- src/DotRecast.Detour/DtMeshTile.cs | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/src/DotRecast.Detour/DtMeshTile.cs b/src/DotRecast.Detour/DtMeshTile.cs index fa973d9..4a34ef5 100644 --- a/src/DotRecast.Detour/DtMeshTile.cs +++ b/src/DotRecast.Detour/DtMeshTile.cs @@ -24,33 +24,25 @@ namespace DotRecast.Detour { using static DtDetour; - /** - * Defines a navigation mesh tile. - */ + /// Defines a navigation mesh tile. + /// @ingroup detour public class DtMeshTile { - public readonly int index; - - /** Counter describing modifications to the tile. */ - public int salt; - - /** The tile data. */ - public DtMeshData data; + public readonly int index; // DtNavMesh.m_tiles array index + public int linksFreeList = DT_NULL_LINK; //< Index to the next free link. + public int salt; //< Counter describing modifications to the tile. + public DtMeshData data; // The tile data. public int[] polyLinks; - /** The tile links. */ - public readonly List links = new List(); + public readonly List links; // The tile links. [Size: dtMeshHeader::maxLinkCount] - /** Index to the next free link. */ - public int linksFreeList = DT_NULL_LINK; // FIXME: Remove - - /** Tile flags. (See: #dtTileFlags) */ - public int flags; + public int flags; //< Tile flags. (See: #dtTileFlags) public DtMeshTile(int index) { this.index = index; + this.links = new List(); } } } \ No newline at end of file