refactor: typo

This commit is contained in:
ikpil 2023-10-11 23:55:37 +09:00
parent 3df6036ebb
commit 8d3a1d2d68
3 changed files with 10 additions and 3 deletions

View File

@ -23,9 +23,7 @@ namespace DotRecast.Detour.TileCache
public class DtCompressedTile
{
public readonly int index;
public int salt;
/// < Counter describing modifications to the tile.
public int salt; // Counter describing modifications to the tile.
public DtTileCacheLayerHeader header;
public byte[] data;

View File

@ -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.
}
}

View File

@ -34,6 +34,7 @@ namespace DotRecast.Detour.TileCache
public RcVec3f center = 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 List<long> touched = new List<long>();
public readonly List<long> pending = new List<long>();
public int salt;