Skip to content

Commit

Permalink
update comment in DtNavMeshParams
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed May 14, 2024
1 parent 47be4ec commit 4e7afa6
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions src/DotRecast.Detour/DtNavMeshParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,16 @@ 3. This notice may not be removed or altered from any source distribution.

namespace DotRecast.Detour
{
/**
* Configuration parameters used to define multi-tile navigation meshes. The values are used to allocate space during
* the initialization of a navigation mesh.
*
* @see NavMesh
*/
/// Configuration parameters used to define multi-tile navigation meshes.
/// The values are used to allocate space during the initialization of a navigation mesh.
/// @see dtNavMesh::init()
/// @ingroup detour
public struct DtNavMeshParams
{
/** The world space origin of the navigation mesh's tile space. [(x, y, z)] */
public RcVec3f orig;

/** The width of each tile. (Along the x-axis.) */
public float tileWidth;

/** The height of each tile. (Along the z-axis.) */
public float tileHeight;

/** The maximum number of tiles the navigation mesh can contain. */
public int maxTiles;

/** The maximum number of polygons each tile can contain. */
public int maxPolys;
public RcVec3f orig; //< The world space origin of the navigation mesh's tile space. [(x, y, z)]
public float tileWidth; //< The width of each tile. (Along the x-axis.)
public float tileHeight; //< The height of each tile. (Along the z-axis.)
public int maxTiles; //< The maximum number of tiles the navigation mesh can contain. This and maxPolys are used to calculate how many bits are needed to identify tiles and polygons uniquely.
public int maxPolys; //< The maximum number of polygons each tile can contain. This and maxTiles are used to calculate how many bits are needed to identify tiles and polygons uniquely.
}
}

0 comments on commit 4e7afa6

Please sign in to comment.