forked from mirror/DotRecast
update comment DtMeshTile class
This commit is contained in:
parent
4e7afa64c6
commit
a649081a5b
|
@ -24,33 +24,25 @@ namespace DotRecast.Detour
|
||||||
{
|
{
|
||||||
using static DtDetour;
|
using static DtDetour;
|
||||||
|
|
||||||
/**
|
/// Defines a navigation mesh tile.
|
||||||
* Defines a navigation mesh tile.
|
/// @ingroup detour
|
||||||
*/
|
|
||||||
public class DtMeshTile
|
public class DtMeshTile
|
||||||
{
|
{
|
||||||
public readonly int index;
|
public readonly int index; // DtNavMesh.m_tiles array index
|
||||||
|
public int linksFreeList = DT_NULL_LINK; //< Index to the next free link.
|
||||||
/** Counter describing modifications to the tile. */
|
public int salt; //< Counter describing modifications to the tile.
|
||||||
public int salt;
|
public DtMeshData data; // The tile data.
|
||||||
|
|
||||||
/** The tile data. */
|
|
||||||
public DtMeshData data;
|
|
||||||
|
|
||||||
public int[] polyLinks;
|
public int[] polyLinks;
|
||||||
|
|
||||||
/** The tile links. */
|
public readonly List<DtLink> links; // The tile links. [Size: dtMeshHeader::maxLinkCount]
|
||||||
public readonly List<DtLink> links = new List<DtLink>();
|
|
||||||
|
|
||||||
/** Index to the next free link. */
|
public int flags; //< Tile flags. (See: #dtTileFlags)
|
||||||
public int linksFreeList = DT_NULL_LINK; // FIXME: Remove
|
|
||||||
|
|
||||||
/** Tile flags. (See: #dtTileFlags) */
|
|
||||||
public int flags;
|
|
||||||
|
|
||||||
public DtMeshTile(int index)
|
public DtMeshTile(int index)
|
||||||
{
|
{
|
||||||
this.index = index;
|
this.index = index;
|
||||||
|
this.links = new List<DtLink>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue