forked from mirror/DotRecast
refactor: typo
This commit is contained in:
parent
3df6036ebb
commit
8d3a1d2d68
|
@ -23,9 +23,7 @@ namespace DotRecast.Detour.TileCache
|
||||||
public class DtCompressedTile
|
public class DtCompressedTile
|
||||||
{
|
{
|
||||||
public readonly int index;
|
public readonly int index;
|
||||||
public int salt;
|
public int salt; // Counter describing modifications to the tile.
|
||||||
|
|
||||||
/// < Counter describing modifications to the tile.
|
|
||||||
public DtTileCacheLayerHeader header;
|
public DtTileCacheLayerHeader header;
|
||||||
|
|
||||||
public byte[] data;
|
public byte[] data;
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
namespace DotRecast.Detour.TileCache
|
||||||
|
{
|
||||||
|
/// Flags for addTile
|
||||||
|
public class DtCompressedTileFlags
|
||||||
|
{
|
||||||
|
public const int DT_COMPRESSEDTILE_FREE_DATA = 0x01; //< Navmesh owns the tile memory and should free it. In C#, it is not used.
|
||||||
|
}
|
||||||
|
}
|
|
@ -34,6 +34,7 @@ namespace DotRecast.Detour.TileCache
|
||||||
public RcVec3f center = new RcVec3f();
|
public RcVec3f center = new RcVec3f();
|
||||||
public RcVec3f extents = new RcVec3f();
|
public RcVec3f extents = new RcVec3f();
|
||||||
public readonly float[] rotAux = new float[2]; // { Cos(0.5f*angle)*Sin(-0.5f*angle); Cos(0.5f*angle)*Cos(0.5f*angle) - 0.5 }
|
public readonly float[] rotAux = new float[2]; // { Cos(0.5f*angle)*Sin(-0.5f*angle); Cos(0.5f*angle)*Cos(0.5f*angle) - 0.5 }
|
||||||
|
|
||||||
public List<long> touched = new List<long>();
|
public List<long> touched = new List<long>();
|
||||||
public readonly List<long> pending = new List<long>();
|
public readonly List<long> pending = new List<long>();
|
||||||
public int salt;
|
public int salt;
|
||||||
|
|
Loading…
Reference in New Issue