forked from mirror/DotRecast
typo
This commit is contained in:
parent
a331b3e861
commit
5836fedc7b
|
@ -62,19 +62,17 @@ namespace DotRecast.Detour.Dynamic.Io
|
||||||
tiles.Add(tile);
|
tiles.Add(tile);
|
||||||
}
|
}
|
||||||
|
|
||||||
public RcConfig GetConfig(VoxelTile tile, RcPartition partitionType, int maxPolyVerts, int regionMergeSize,
|
public RcConfig GetConfig(VoxelTile tile, RcAreaModification walkbableAreaMod, bool buildMeshDetail)
|
||||||
bool filterLowHangingObstacles, bool filterLedgeSpans, bool filterWalkableLowHeightSpans,
|
|
||||||
RcAreaModification walkbableAreaMod, bool buildMeshDetail, float detailSampleDist, float detailSampleMaxError)
|
|
||||||
{
|
{
|
||||||
return new RcConfig(useTiles, tileSizeX, tileSizeZ,
|
return new RcConfig(useTiles, tileSizeX, tileSizeZ,
|
||||||
tile.borderSize,
|
tile.borderSize,
|
||||||
partitionType,
|
RcPartitionType.OfValue(partition),
|
||||||
cellSize, tile.cellHeight,
|
cellSize, tile.cellHeight,
|
||||||
walkableSlopeAngle, walkableHeight, walkableRadius, walkableClimb,
|
walkableSlopeAngle, walkableHeight, walkableRadius, walkableClimb,
|
||||||
minRegionArea, regionMergeArea,
|
minRegionArea, regionMergeArea,
|
||||||
maxEdgeLen, maxSimplificationError,
|
maxEdgeLen, maxSimplificationError,
|
||||||
maxPolyVerts,
|
vertsPerPoly,
|
||||||
detailSampleDist, detailSampleMaxError,
|
detailSampleDistance, detailSampleMaxError,
|
||||||
filterLowHangingObstacles, filterLedgeSpans, filterWalkableLowHeightSpans,
|
filterLowHangingObstacles, filterLedgeSpans, filterWalkableLowHeightSpans,
|
||||||
walkbableAreaMod, buildMeshDetail);
|
walkbableAreaMod, buildMeshDetail);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue