From 5836fedc7ba25e2e02669575629990fcc8db0bd1 Mon Sep 17 00:00:00 2001 From: ikpil Date: Mon, 4 Sep 2023 23:36:29 +0900 Subject: [PATCH] typo --- src/DotRecast.Detour.Dynamic/Io/VoxelFile.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/DotRecast.Detour.Dynamic/Io/VoxelFile.cs b/src/DotRecast.Detour.Dynamic/Io/VoxelFile.cs index bc5c58f..35b9589 100644 --- a/src/DotRecast.Detour.Dynamic/Io/VoxelFile.cs +++ b/src/DotRecast.Detour.Dynamic/Io/VoxelFile.cs @@ -62,19 +62,17 @@ namespace DotRecast.Detour.Dynamic.Io tiles.Add(tile); } - public RcConfig GetConfig(VoxelTile tile, RcPartition partitionType, int maxPolyVerts, int regionMergeSize, - bool filterLowHangingObstacles, bool filterLedgeSpans, bool filterWalkableLowHeightSpans, - RcAreaModification walkbableAreaMod, bool buildMeshDetail, float detailSampleDist, float detailSampleMaxError) + public RcConfig GetConfig(VoxelTile tile, RcAreaModification walkbableAreaMod, bool buildMeshDetail) { return new RcConfig(useTiles, tileSizeX, tileSizeZ, tile.borderSize, - partitionType, + RcPartitionType.OfValue(partition), cellSize, tile.cellHeight, walkableSlopeAngle, walkableHeight, walkableRadius, walkableClimb, minRegionArea, regionMergeArea, maxEdgeLen, maxSimplificationError, - maxPolyVerts, - detailSampleDist, detailSampleMaxError, + vertsPerPoly, + detailSampleDistance, detailSampleMaxError, filterLowHangingObstacles, filterLedgeSpans, filterWalkableLowHeightSpans, walkbableAreaMod, buildMeshDetail); }