needed by Dotrecast

This commit is contained in:
ikpil 2024-05-16 01:09:10 +09:00 committed by Ikpil
parent 886afd20cd
commit 7212afaac6
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ namespace DotRecast.Detour.Extras.Unity.Astar
header.vertCount = vertsCount; header.vertCount = vertsCount;
header.detailMeshCount = nodeCount; header.detailMeshCount = nodeCount;
header.detailTriCount = 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 + header.bmin.X = meta.forcedBoundsCenter.x - 0.5f * meta.forcedBoundsSize.x +
meta.cellSize * meta.tileSizeX * x; meta.cellSize * meta.tileSizeX * x;
header.bmin.Y = ymin; header.bmin.Y = ymin;