From 36380e590bf110e356567e0638e2ca75141271d1 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 8 Dec 2021 19:18:33 -0500 Subject: [PATCH] Namespace update --- Runtime/Agent.cs | 1 + Runtime/AgentGroup.cs | 2 +- Runtime/Jobs/AgentKDTreeBuilder.cs | 1 + Runtime/Jobs/AgentProvider.cs | 1 + Runtime/Jobs/ORCAApplyJob.cs | 1 + Runtime/Jobs/ORCAApplyProcessor.cs | 1 + Runtime/Jobs/ORCALinesProcessor.cs | 1 + Runtime/Jobs/ORCAPreparation.cs | 1 + Runtime/Jobs/ObstacleKDTreeBuilder.cs | 1 + Runtime/Jobs/ObstacleProvider.cs | 1 + Runtime/Jobs/RaycastProvider.cs | 1 + Runtime/Jobs/RaycastsJob.cs | 1 + Runtime/Jobs/RaycastsProcessor.cs | 1 + Runtime/ORCA.cs | 1 + Runtime/ORCABundle.cs | 1 + Runtime/Obstacle.cs | 3 ++- Runtime/ObstacleGroup.cs | 4 ++-- Runtime/ObstacleVertex.cs | 1 + Runtime/Raycast.cs | 3 ++- Runtime/RaycastGroup.cs | 2 +- 20 files changed, 23 insertions(+), 6 deletions(-) diff --git a/Runtime/Agent.cs b/Runtime/Agent.cs index a3f14b6..eb7b166 100644 --- a/Runtime/Agent.cs +++ b/Runtime/Agent.cs @@ -20,6 +20,7 @@ using Unity.Mathematics; using static Unity.Mathematics.math; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/AgentGroup.cs b/Runtime/AgentGroup.cs index 26461f7..476eef8 100644 --- a/Runtime/AgentGroup.cs +++ b/Runtime/AgentGroup.cs @@ -18,7 +18,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using Nebukam.Pooling; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/AgentKDTreeBuilder.cs b/Runtime/Jobs/AgentKDTreeBuilder.cs index be33c95..c87e1c4 100644 --- a/Runtime/Jobs/AgentKDTreeBuilder.cs +++ b/Runtime/Jobs/AgentKDTreeBuilder.cs @@ -19,6 +19,7 @@ // SOFTWARE. using Nebukam.JobAssist; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/AgentProvider.cs b/Runtime/Jobs/AgentProvider.cs index fd911b7..6307c9f 100644 --- a/Runtime/Jobs/AgentProvider.cs +++ b/Runtime/Jobs/AgentProvider.cs @@ -24,6 +24,7 @@ using Unity.Collections; using Unity.Mathematics; using static Unity.Mathematics.math; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/ORCAApplyJob.cs b/Runtime/Jobs/ORCAApplyJob.cs index 0d1c3b6..0e069bf 100644 --- a/Runtime/Jobs/ORCAApplyJob.cs +++ b/Runtime/Jobs/ORCAApplyJob.cs @@ -23,6 +23,7 @@ using Unity.Jobs; using Unity.Mathematics; using static Unity.Mathematics.math; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/ORCAApplyProcessor.cs b/Runtime/Jobs/ORCAApplyProcessor.cs index ca182c3..e2483d3 100644 --- a/Runtime/Jobs/ORCAApplyProcessor.cs +++ b/Runtime/Jobs/ORCAApplyProcessor.cs @@ -21,6 +21,7 @@ using Nebukam.JobAssist; using System.Collections.Generic; using Unity.Collections; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/ORCALinesProcessor.cs b/Runtime/Jobs/ORCALinesProcessor.cs index 30b7a26..eda1b7d 100644 --- a/Runtime/Jobs/ORCALinesProcessor.cs +++ b/Runtime/Jobs/ORCALinesProcessor.cs @@ -21,6 +21,7 @@ using Nebukam.JobAssist; using static Nebukam.JobAssist.CollectionsUtils; using Unity.Collections; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/ORCAPreparation.cs b/Runtime/Jobs/ORCAPreparation.cs index f468995..31a3908 100644 --- a/Runtime/Jobs/ORCAPreparation.cs +++ b/Runtime/Jobs/ORCAPreparation.cs @@ -19,6 +19,7 @@ // SOFTWARE. using Nebukam.JobAssist; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/ObstacleKDTreeBuilder.cs b/Runtime/Jobs/ObstacleKDTreeBuilder.cs index 2e6f62a..43e1665 100644 --- a/Runtime/Jobs/ObstacleKDTreeBuilder.cs +++ b/Runtime/Jobs/ObstacleKDTreeBuilder.cs @@ -19,6 +19,7 @@ // SOFTWARE. using Nebukam.JobAssist; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/ObstacleProvider.cs b/Runtime/Jobs/ObstacleProvider.cs index 96bcbc1..2cd3f84 100644 --- a/Runtime/Jobs/ObstacleProvider.cs +++ b/Runtime/Jobs/ObstacleProvider.cs @@ -21,6 +21,7 @@ using Nebukam.JobAssist; using static Nebukam.JobAssist.CollectionsUtils; using Unity.Collections; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/RaycastProvider.cs b/Runtime/Jobs/RaycastProvider.cs index 87142fd..e8fc82f 100644 --- a/Runtime/Jobs/RaycastProvider.cs +++ b/Runtime/Jobs/RaycastProvider.cs @@ -24,6 +24,7 @@ using Unity.Collections; using Unity.Mathematics; using static Unity.Mathematics.math; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/RaycastsJob.cs b/Runtime/Jobs/RaycastsJob.cs index 4782ce9..7d256b8 100644 --- a/Runtime/Jobs/RaycastsJob.cs +++ b/Runtime/Jobs/RaycastsJob.cs @@ -23,6 +23,7 @@ using Unity.Jobs; using Unity.Mathematics; using static Unity.Mathematics.math; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Jobs/RaycastsProcessor.cs b/Runtime/Jobs/RaycastsProcessor.cs index d249a8a..1f4fcaf 100644 --- a/Runtime/Jobs/RaycastsProcessor.cs +++ b/Runtime/Jobs/RaycastsProcessor.cs @@ -23,6 +23,7 @@ using System.Collections.Generic; using Unity.Collections; using static Unity.Mathematics.math; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/ORCA.cs b/Runtime/ORCA.cs index 93c7398..3832772 100644 --- a/Runtime/ORCA.cs +++ b/Runtime/ORCA.cs @@ -19,6 +19,7 @@ // SOFTWARE. using Nebukam.JobAssist; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/ORCABundle.cs b/Runtime/ORCABundle.cs index fe99d35..580ce37 100644 --- a/Runtime/ORCABundle.cs +++ b/Runtime/ORCABundle.cs @@ -19,6 +19,7 @@ // SOFTWARE. using Unity.Mathematics; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Obstacle.cs b/Runtime/Obstacle.cs index 248eb9d..7937183 100644 --- a/Runtime/Obstacle.cs +++ b/Runtime/Obstacle.cs @@ -18,11 +18,12 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. +using Nebukam.Common; namespace Nebukam.ORCA { - public class Obstacle : VertexGroup, Pooling.IRequireInit + public class Obstacle : VertexGroup, IRequireInit { protected internal ORCALayer m_layerOccupation = ORCALayer.ANY; diff --git a/Runtime/ObstacleGroup.cs b/Runtime/ObstacleGroup.cs index 973cc74..f9923d4 100644 --- a/Runtime/ObstacleGroup.cs +++ b/Runtime/ObstacleGroup.cs @@ -18,7 +18,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using Nebukam.Pooling; + using System.Collections.Generic; using Unity.Mathematics; @@ -34,7 +34,7 @@ public interface IObstacleGroup public class ObstacleGroup : IObstacleGroup { - protected Pooling.Pool.OnItemReleased m_onObstacleReleased; + protected Pool.OnItemReleased m_onObstacleReleased; public ObstacleGroup() { diff --git a/Runtime/ObstacleVertex.cs b/Runtime/ObstacleVertex.cs index b2ca9e2..f9d02d5 100644 --- a/Runtime/ObstacleVertex.cs +++ b/Runtime/ObstacleVertex.cs @@ -20,6 +20,7 @@ using Unity.Mathematics; using static Unity.Mathematics.math; +using Nebukam.Common; namespace Nebukam.ORCA { diff --git a/Runtime/Raycast.cs b/Runtime/Raycast.cs index 345dc0c..2e0a093 100644 --- a/Runtime/Raycast.cs +++ b/Runtime/Raycast.cs @@ -21,6 +21,7 @@ using Unity.Burst; using Unity.Mathematics; using static Unity.Mathematics.math; +using Nebukam.Common; namespace Nebukam.ORCA { @@ -67,7 +68,7 @@ public struct RaycastResult } - public class Raycast : Vertex, Pooling.IRequireCleanUp + public class Raycast : Vertex, IRequireCleanUp { protected internal float3 m_dir = float3(0f); diff --git a/Runtime/RaycastGroup.cs b/Runtime/RaycastGroup.cs index f3adf67..b73830e 100644 --- a/Runtime/RaycastGroup.cs +++ b/Runtime/RaycastGroup.cs @@ -18,8 +18,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -using Nebukam.Pooling; using Unity.Mathematics; +using Nebukam.Common; namespace Nebukam.ORCA {