From ba1bdb02950bdbe48c10950ee50d45bdec788fc7 Mon Sep 17 00:00:00 2001 From: ikpil Date: Tue, 13 Jun 2023 00:36:17 +0900 Subject: [PATCH] namespace add DemoTool.Tools --- src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs | 1 + src/DotRecast.Recast.Demo/Tools/CrowdTool.cs | 1 + src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs | 1 + src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs | 1 + src/DotRecast.Recast.Demo/Tools/TestNavmeshTool.cs | 1 + src/DotRecast.Recast.DemoTool/Sample.cs | 6 +++--- .../{RcSampleSettings.cs => SampleSettings.cs} | 2 +- src/DotRecast.Recast.DemoTool/{ => Tools}/CrowdAgentData.cs | 2 +- .../{ => Tools}/CrowdAgentTrail.cs | 2 +- src/DotRecast.Recast.DemoTool/{ => Tools}/CrowdAgentType.cs | 2 +- src/DotRecast.Recast.DemoTool/{ => Tools}/CrowdToolMode.cs | 2 +- .../{ => Tools}/CrowdToolParams.cs | 2 +- .../{ => Tools}/DynamicColliderShape.cs | 2 +- .../{ => Tools}/DynamicUpdateToolMode.cs | 2 +- .../{ => Tools}/JumpLinkBuilderToolParams.cs | 2 +- .../{ => Tools}/TestNavmeshToolMode.cs | 2 +- 16 files changed, 18 insertions(+), 13 deletions(-) rename src/DotRecast.Recast.DemoTool/{RcSampleSettings.cs => SampleSettings.cs} (96%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/CrowdAgentData.cs (88%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/CrowdAgentTrail.cs (80%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/CrowdAgentType.cs (67%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/CrowdToolMode.cs (95%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/CrowdToolParams.cs (97%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/DynamicColliderShape.cs (80%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/DynamicUpdateToolMode.cs (94%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/JumpLinkBuilderToolParams.cs (97%) rename src/DotRecast.Recast.DemoTool/{ => Tools}/TestNavmeshToolMode.cs (97%) diff --git a/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs b/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs index c6bb13b..62da789 100644 --- a/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs @@ -26,6 +26,7 @@ using DotRecast.Detour.QueryResults; using DotRecast.Recast.DemoTool.Builder; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.DemoTool; +using DotRecast.Recast.DemoTool.Tools; using ImGuiNET; using static DotRecast.Recast.Demo.Draw.DebugDraw; diff --git a/src/DotRecast.Recast.Demo/Tools/CrowdTool.cs b/src/DotRecast.Recast.Demo/Tools/CrowdTool.cs index c71e4e5..dfca2a8 100644 --- a/src/DotRecast.Recast.Demo/Tools/CrowdTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/CrowdTool.cs @@ -28,6 +28,7 @@ using DotRecast.Detour.QueryResults; using DotRecast.Recast.DemoTool.Builder; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.DemoTool; +using DotRecast.Recast.DemoTool.Tools; using ImGuiNET; using static DotRecast.Recast.Demo.Draw.DebugDraw; using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives; diff --git a/src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs b/src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs index 551a837..26ca8aa 100644 --- a/src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs @@ -31,6 +31,7 @@ using DotRecast.Recast.DemoTool.Geom; using DotRecast.Recast.Demo.Tools.Gizmos; using DotRecast.Recast.Demo.UI; using DotRecast.Recast.DemoTool; +using DotRecast.Recast.DemoTool.Tools; using ImGuiNET; using static DotRecast.Recast.Demo.Draw.DebugDraw; using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives; diff --git a/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs b/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs index 8411509..d5bbd20 100644 --- a/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs @@ -23,6 +23,7 @@ using DotRecast.Recast.DemoTool.Builder; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.DemoTool; using DotRecast.Recast.DemoTool.Geom; +using DotRecast.Recast.DemoTool.Tools; using ImGuiNET; using static DotRecast.Recast.Demo.Draw.DebugDraw; using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives; diff --git a/src/DotRecast.Recast.Demo/Tools/TestNavmeshTool.cs b/src/DotRecast.Recast.Demo/Tools/TestNavmeshTool.cs index 7f74906..cc5bae4 100644 --- a/src/DotRecast.Recast.Demo/Tools/TestNavmeshTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/TestNavmeshTool.cs @@ -6,6 +6,7 @@ using DotRecast.Detour.QueryResults; using DotRecast.Recast.DemoTool.Builder; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.DemoTool; +using DotRecast.Recast.DemoTool.Tools; using ImGuiNET; using static DotRecast.Recast.Demo.Draw.DebugDraw; using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives; diff --git a/src/DotRecast.Recast.DemoTool/Sample.cs b/src/DotRecast.Recast.DemoTool/Sample.cs index 83f4675..334d2ef 100644 --- a/src/DotRecast.Recast.DemoTool/Sample.cs +++ b/src/DotRecast.Recast.DemoTool/Sample.cs @@ -29,7 +29,7 @@ namespace DotRecast.Recast.DemoTool private DemoInputGeomProvider _inputGeom; private DtNavMesh _navMesh; private DtNavMeshQuery _navMeshQuery; - private readonly RcSampleSettings _settings; + private readonly SampleSettings _settings; private IList _recastResults; private bool _changed; @@ -38,7 +38,7 @@ namespace DotRecast.Recast.DemoTool _inputGeom = inputGeom; _recastResults = recastResults; _navMesh = navMesh; - _settings = new RcSampleSettings(); + _settings = new SampleSettings(); SetQuery(navMesh); _changed = true; @@ -64,7 +64,7 @@ namespace DotRecast.Recast.DemoTool return _navMesh; } - public RcSampleSettings GetSettings() + public SampleSettings GetSettings() { return _settings; } diff --git a/src/DotRecast.Recast.DemoTool/RcSampleSettings.cs b/src/DotRecast.Recast.DemoTool/SampleSettings.cs similarity index 96% rename from src/DotRecast.Recast.DemoTool/RcSampleSettings.cs rename to src/DotRecast.Recast.DemoTool/SampleSettings.cs index 4639303..0f103f5 100644 --- a/src/DotRecast.Recast.DemoTool/RcSampleSettings.cs +++ b/src/DotRecast.Recast.DemoTool/SampleSettings.cs @@ -1,6 +1,6 @@ namespace DotRecast.Recast.DemoTool { - public class RcSampleSettings + public class SampleSettings { public float cellSize = 0.3f; public float cellHeight = 0.2f; diff --git a/src/DotRecast.Recast.DemoTool/CrowdAgentData.cs b/src/DotRecast.Recast.DemoTool/Tools/CrowdAgentData.cs similarity index 88% rename from src/DotRecast.Recast.DemoTool/CrowdAgentData.cs rename to src/DotRecast.Recast.DemoTool/Tools/CrowdAgentData.cs index 019784d..2c52c12 100644 --- a/src/DotRecast.Recast.DemoTool/CrowdAgentData.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/CrowdAgentData.cs @@ -1,6 +1,6 @@ using DotRecast.Core; -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public class CrowdAgentData { diff --git a/src/DotRecast.Recast.DemoTool/CrowdAgentTrail.cs b/src/DotRecast.Recast.DemoTool/Tools/CrowdAgentTrail.cs similarity index 80% rename from src/DotRecast.Recast.DemoTool/CrowdAgentTrail.cs rename to src/DotRecast.Recast.DemoTool/Tools/CrowdAgentTrail.cs index b06bb37..9c5afab 100644 --- a/src/DotRecast.Recast.DemoTool/CrowdAgentTrail.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/CrowdAgentTrail.cs @@ -1,4 +1,4 @@ -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public class CrowdAgentTrail { diff --git a/src/DotRecast.Recast.DemoTool/CrowdAgentType.cs b/src/DotRecast.Recast.DemoTool/Tools/CrowdAgentType.cs similarity index 67% rename from src/DotRecast.Recast.DemoTool/CrowdAgentType.cs rename to src/DotRecast.Recast.DemoTool/Tools/CrowdAgentType.cs index 9a81600..b921043 100644 --- a/src/DotRecast.Recast.DemoTool/CrowdAgentType.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/CrowdAgentType.cs @@ -1,4 +1,4 @@ -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public enum CrowdAgentType { diff --git a/src/DotRecast.Recast.DemoTool/CrowdToolMode.cs b/src/DotRecast.Recast.DemoTool/Tools/CrowdToolMode.cs similarity index 95% rename from src/DotRecast.Recast.DemoTool/CrowdToolMode.cs rename to src/DotRecast.Recast.DemoTool/Tools/CrowdToolMode.cs index 1296ccd..772ccad 100644 --- a/src/DotRecast.Recast.DemoTool/CrowdToolMode.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/CrowdToolMode.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public class CrowdToolMode { diff --git a/src/DotRecast.Recast.DemoTool/CrowdToolParams.cs b/src/DotRecast.Recast.DemoTool/Tools/CrowdToolParams.cs similarity index 97% rename from src/DotRecast.Recast.DemoTool/CrowdToolParams.cs rename to src/DotRecast.Recast.DemoTool/Tools/CrowdToolParams.cs index 2e04e14..7d64138 100644 --- a/src/DotRecast.Recast.DemoTool/CrowdToolParams.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/CrowdToolParams.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public class CrowdToolParams { diff --git a/src/DotRecast.Recast.DemoTool/DynamicColliderShape.cs b/src/DotRecast.Recast.DemoTool/Tools/DynamicColliderShape.cs similarity index 80% rename from src/DotRecast.Recast.DemoTool/DynamicColliderShape.cs rename to src/DotRecast.Recast.DemoTool/Tools/DynamicColliderShape.cs index ebfca11..d1c0e89 100644 --- a/src/DotRecast.Recast.DemoTool/DynamicColliderShape.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/DynamicColliderShape.cs @@ -1,4 +1,4 @@ -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public enum DynamicColliderShape { diff --git a/src/DotRecast.Recast.DemoTool/DynamicUpdateToolMode.cs b/src/DotRecast.Recast.DemoTool/Tools/DynamicUpdateToolMode.cs similarity index 94% rename from src/DotRecast.Recast.DemoTool/DynamicUpdateToolMode.cs rename to src/DotRecast.Recast.DemoTool/Tools/DynamicUpdateToolMode.cs index 0b7e9cf..ea84e59 100644 --- a/src/DotRecast.Recast.DemoTool/DynamicUpdateToolMode.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/DynamicUpdateToolMode.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public class DynamicUpdateToolMode { diff --git a/src/DotRecast.Recast.DemoTool/JumpLinkBuilderToolParams.cs b/src/DotRecast.Recast.DemoTool/Tools/JumpLinkBuilderToolParams.cs similarity index 97% rename from src/DotRecast.Recast.DemoTool/JumpLinkBuilderToolParams.cs rename to src/DotRecast.Recast.DemoTool/Tools/JumpLinkBuilderToolParams.cs index 5277dc8..78e0e78 100644 --- a/src/DotRecast.Recast.DemoTool/JumpLinkBuilderToolParams.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/JumpLinkBuilderToolParams.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: using DotRecast.Detour.Extras.Jumplink; -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public class JumpLinkBuilderToolParams { diff --git a/src/DotRecast.Recast.DemoTool/TestNavmeshToolMode.cs b/src/DotRecast.Recast.DemoTool/Tools/TestNavmeshToolMode.cs similarity index 97% rename from src/DotRecast.Recast.DemoTool/TestNavmeshToolMode.cs rename to src/DotRecast.Recast.DemoTool/Tools/TestNavmeshToolMode.cs index e2efb23..a88f177 100644 --- a/src/DotRecast.Recast.DemoTool/TestNavmeshToolMode.cs +++ b/src/DotRecast.Recast.DemoTool/Tools/TestNavmeshToolMode.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace DotRecast.Recast.DemoTool +namespace DotRecast.Recast.DemoTool.Tools { public class TestNavmeshToolMode {