diff --git a/src/DotRecast.Detour/DtMeshData.cs b/src/DotRecast.Detour/DtMeshData.cs index 63e8057..c2ad019 100644 --- a/src/DotRecast.Detour/DtMeshData.cs +++ b/src/DotRecast.Detour/DtMeshData.cs @@ -38,14 +38,14 @@ namespace DotRecast.Detour public float[] detailVerts; /** - * The detail mesh's triangles. [(vertA, vertB, vertC) * MeshHeader::detailTriCount] See DetailTriEdgeFlags and - * NavMesh::getDetailTriEdgeFlags. - */ + * The detail mesh's triangles. [(vertA, vertB, vertC) * MeshHeader::detailTriCount] See DetailTriEdgeFlags and + * NavMesh::getDetailTriEdgeFlags. + */ public int[] detailTris; /** - * The tile bounding volume nodes. [Size: MeshHeader::bvNodeCount] (Will be null if bounding volumes are disabled.) - */ + * The tile bounding volume nodes. [Size: MeshHeader::bvNodeCount] (Will be null if bounding volumes are disabled.) + */ public DtBVNode[] bvTree; /** The tile off-mesh connections. [Size: MeshHeader::offMeshConCount] */ diff --git a/src/DotRecast.Detour/DtMeshTile.cs b/src/DotRecast.Detour/DtMeshTile.cs index f03d72a..8b03657 100644 --- a/src/DotRecast.Detour/DtMeshTile.cs +++ b/src/DotRecast.Detour/DtMeshTile.cs @@ -23,8 +23,8 @@ using System.Collections.Generic; namespace DotRecast.Detour { /** - * Defines a navigation mesh tile. - */ + * Defines a navigation mesh tile. + */ public class DtMeshTile { public readonly int index; diff --git a/src/DotRecast.Detour/DtNavMeshCreateParams.cs b/src/DotRecast.Detour/DtNavMeshCreateParams.cs index f50bc5e..d836dd7 100644 --- a/src/DotRecast.Detour/DtNavMeshCreateParams.cs +++ b/src/DotRecast.Detour/DtNavMeshCreateParams.cs @@ -96,21 +96,12 @@ namespace DotRecast.Detour /// @} /// @name General Configuration Attributes /// @{ - public float walkableHeight; - - /// < The agent height. [Unit: wu] - public float walkableRadius; - - /// < The agent radius. [Unit: wu] - public float walkableClimb; - - /// < The agent maximum traversable ledge. (Up/Down) [Unit: wu] - public float cs; - - /// < The xz-plane cell size of the polygon mesh. [Limit: > 0] [Unit: wu] - public float ch; - - /// < The y-axis cell height of the polygon mesh. [Limit: > 0] [Unit: wu] + public float walkableHeight; // < The agent height. [Unit: wu] + public float walkableRadius; // < The agent radius. [Unit: wu] + public float walkableClimb; // < The agent maximum traversable ledge. (Up/Down) [Unit: wu] + public float cs; // < The xz-plane cell size of the polygon mesh. [Limit: > 0] [Unit: wu] + public float ch; // < The y-axis cell height of the polygon mesh. [Limit: > 0] [Unit: wu] + /// True if a bounding volume tree should be built for the tile. /// @note The BVTree is not normally needed for layered navigation meshes. public bool buildBvTree;