diff --git a/src/DotRecast.Recast.DemoTool/Builder/SoloNavMeshBuilder.cs b/src/DotRecast.Recast.DemoTool/Builder/SoloNavMeshBuilder.cs index 67032a7..8ffd0c8 100644 --- a/src/DotRecast.Recast.DemoTool/Builder/SoloNavMeshBuilder.cs +++ b/src/DotRecast.Recast.DemoTool/Builder/SoloNavMeshBuilder.cs @@ -26,7 +26,7 @@ namespace DotRecast.Recast.DemoTool.Builder { public class SoloNavMeshBuilder { - public NavMeshBuildResult Build(DemoInputGeomProvider geom, RcNavMeshBuildSetting settings) + public NavMeshBuildResult Build(DemoInputGeomProvider geom, RcNavMeshBuildSettings settings) { return Build(geom, RcPartitionType.OfValue(settings.partitioning), settings.cellSize, settings.cellHeight, settings.agentHeight, diff --git a/src/DotRecast.Recast.DemoTool/Builder/TileNavMeshBuilder.cs b/src/DotRecast.Recast.DemoTool/Builder/TileNavMeshBuilder.cs index 56d76f9..3c46037 100644 --- a/src/DotRecast.Recast.DemoTool/Builder/TileNavMeshBuilder.cs +++ b/src/DotRecast.Recast.DemoTool/Builder/TileNavMeshBuilder.cs @@ -30,7 +30,7 @@ namespace DotRecast.Recast.DemoTool.Builder { } - public NavMeshBuildResult Build(DemoInputGeomProvider geom, RcNavMeshBuildSetting settings) + public NavMeshBuildResult Build(DemoInputGeomProvider geom, RcNavMeshBuildSettings settings) { return Build(geom, RcPartitionType.OfValue(settings.partitioning), settings.cellSize, settings.cellHeight, settings.agentHeight, diff --git a/src/DotRecast.Recast.DemoTool/RcNavMeshBuildSetting.cs b/src/DotRecast.Recast.DemoTool/RcNavMeshBuildSettings.cs similarity index 95% rename from src/DotRecast.Recast.DemoTool/RcNavMeshBuildSetting.cs rename to src/DotRecast.Recast.DemoTool/RcNavMeshBuildSettings.cs index 4d3cb4d..1fd9ee7 100644 --- a/src/DotRecast.Recast.DemoTool/RcNavMeshBuildSetting.cs +++ b/src/DotRecast.Recast.DemoTool/RcNavMeshBuildSettings.cs @@ -1,6 +1,6 @@ namespace DotRecast.Recast.DemoTool { - public class RcNavMeshBuildSetting + public class RcNavMeshBuildSettings { public float cellSize = 0.3f; public float cellHeight = 0.2f; diff --git a/src/DotRecast.Recast.DemoTool/Sample.cs b/src/DotRecast.Recast.DemoTool/Sample.cs index 93b5518..7ec55e8 100644 --- a/src/DotRecast.Recast.DemoTool/Sample.cs +++ b/src/DotRecast.Recast.DemoTool/Sample.cs @@ -30,7 +30,7 @@ namespace DotRecast.Recast.DemoTool private DemoInputGeomProvider _inputGeom; private DtNavMesh _navMesh; private DtNavMeshQuery _navMeshQuery; - private readonly RcNavMeshBuildSetting _settings; + private readonly RcNavMeshBuildSettings _settings; private IList _recastResults; private bool _changed; @@ -39,7 +39,7 @@ namespace DotRecast.Recast.DemoTool _inputGeom = inputGeom; _recastResults = recastResults; _navMesh = navMesh; - _settings = new RcNavMeshBuildSetting(); + _settings = new RcNavMeshBuildSettings(); SetQuery(navMesh); _changed = true; @@ -65,7 +65,7 @@ namespace DotRecast.Recast.DemoTool return _navMesh; } - public RcNavMeshBuildSetting GetSettings() + public RcNavMeshBuildSettings GetSettings() { return _settings; }