add RcDirtyEntry, RcLevelStackEntry

This commit is contained in:
ikpil 2024-01-17 13:54:46 +09:00 committed by Ikpil
parent b4d1adcd3e
commit 78b29920cb
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,16 @@
namespace DotRecast.Recast
{
public readonly struct RcDirtyEntry
{
public readonly int index;
public readonly int region;
public readonly int distance2;
public RcDirtyEntry(int tempIndex, int tempRegion, int tempDistance2)
{
index = tempIndex;
region = tempRegion;
distance2 = tempDistance2;
}
}
}

View File

@ -0,0 +1,16 @@
namespace DotRecast.Recast
{
public readonly struct RcLevelStackEntry
{
public readonly int x;
public readonly int y;
public readonly int index;
public RcLevelStackEntry(int tempX, int tempY, int tempIndex)
{
x = tempX;
y = tempY;
index = tempIndex;
}
}
}