2023-05-07 11:55:13 +03:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace DotRecast.Detour.TileCache
|
|
|
|
|
{
|
2023-06-08 16:24:34 +03:00
|
|
|
|
public class DtTempContour
|
2023-05-07 11:55:13 +03:00
|
|
|
|
{
|
|
|
|
|
public List<int> verts;
|
|
|
|
|
public int nverts;
|
|
|
|
|
public List<int> poly;
|
|
|
|
|
|
2023-06-08 16:24:34 +03:00
|
|
|
|
public DtTempContour()
|
2023-05-07 11:55:13 +03:00
|
|
|
|
{
|
|
|
|
|
verts = new List<int>();
|
|
|
|
|
nverts = 0;
|
|
|
|
|
poly = new List<int>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int Npoly()
|
|
|
|
|
{
|
|
|
|
|
return poly.Count;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Clear()
|
|
|
|
|
{
|
|
|
|
|
nverts = 0;
|
|
|
|
|
verts.Clear();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|