DtNavMeshParamWriter.cs 598 B

12345678910111213141516171819
  1. using System.IO;
  2. using DotRecast.Core;
  3. namespace DotRecast.Detour.Io
  4. {
  5. public class DtNavMeshParamWriter : DtWriter
  6. {
  7. public void Write(BinaryWriter stream, DtNavMeshParams option, RcByteOrder order)
  8. {
  9. Write(stream, option.orig.x, order);
  10. Write(stream, option.orig.y, order);
  11. Write(stream, option.orig.z, order);
  12. Write(stream, option.tileWidth, order);
  13. Write(stream, option.tileHeight, order);
  14. Write(stream, option.maxTiles, order);
  15. Write(stream, option.maxPolys, order);
  16. }
  17. }
  18. }