Skip to content

Commit

Permalink
needed by Dotrecast
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed May 17, 2024
1 parent 886afd2 commit 7212afa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public GraphMeshData Read(ZipArchive file, string filename, GraphMeta meta, int
header.vertCount = vertsCount;
header.detailMeshCount = nodeCount;
header.detailTriCount = nodeCount;
header.maxLinkCount = nodeCount * 3 * 2; // XXX: Needed by Recast, not needed by recast4j
header.maxLinkCount = nodeCount * 3 * 2; // needed by Recast, not needed by recast4j, needed by DotRecast
header.bmin.X = meta.forcedBoundsCenter.x - 0.5f * meta.forcedBoundsSize.x +
meta.cellSize * meta.tileSizeX * x;
header.bmin.Y = ymin;
Expand Down

0 comments on commit 7212afa

Please sign in to comment.