forked from bit/DotRecastNetSim
add RcDirtyEntry, RcLevelStackEntry
This commit is contained in:
parent
b4d1adcd3e
commit
78b29920cb
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue