DtTempContour.cs 540 B

1234567891011121314151617181920212223242526272829
  1. using System.Collections.Generic;
  2. namespace DotRecast.Detour.TileCache
  3. {
  4. public class DtTempContour
  5. {
  6. public List<int> verts;
  7. public int nverts;
  8. public List<int> poly;
  9. public DtTempContour()
  10. {
  11. verts = new List<int>();
  12. nverts = 0;
  13. poly = new List<int>();
  14. }
  15. public int Npoly()
  16. {
  17. return poly.Count;
  18. }
  19. public void Clear()
  20. {
  21. nverts = 0;
  22. verts.Clear();
  23. }
  24. };
  25. }