forked from mirror/DotRecast
update comment in DtNavMeshParams
This commit is contained in:
parent
47be4eca70
commit
4e7afa64c6
|
@ -22,27 +22,16 @@ using DotRecast.Core.Numerics;
|
|||
|
||||
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.
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue