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
|
namespace DotRecast.Detour
|
||||||
{
|
{
|
||||||
/**
|
/// Configuration parameters used to define multi-tile navigation meshes.
|
||||||
* Configuration parameters used to define multi-tile navigation meshes. The values are used to allocate space during
|
/// The values are used to allocate space during the initialization of a navigation mesh.
|
||||||
* the initialization of a navigation mesh.
|
/// @see dtNavMesh::init()
|
||||||
*
|
/// @ingroup detour
|
||||||
* @see NavMesh
|
|
||||||
*/
|
|
||||||
public struct DtNavMeshParams
|
public struct DtNavMeshParams
|
||||||
{
|
{
|
||||||
/** The world space origin of the navigation mesh's tile space. [(x, y, z)] */
|
public RcVec3f orig; //< The world space origin of the navigation mesh's tile space. [(x, y, z)]
|
||||||
public RcVec3f orig;
|
public float tileWidth; //< The width of each tile. (Along the x-axis.)
|
||||||
|
public float tileHeight; //< The height of each tile. (Along the z-axis.)
|
||||||
/** The width of each tile. (Along the x-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 float tileWidth;
|
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.
|
||||||
|
|
||||||
/** 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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue