diff --git a/src/DotRecast.Core/RcMatrix4x4f.cs b/src/DotRecast.Core/Numerics/RcMatrix4x4f.cs similarity index 99% rename from src/DotRecast.Core/RcMatrix4x4f.cs rename to src/DotRecast.Core/Numerics/RcMatrix4x4f.cs index a6287a9..1520647 100644 --- a/src/DotRecast.Core/RcMatrix4x4f.cs +++ b/src/DotRecast.Core/Numerics/RcMatrix4x4f.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -namespace DotRecast.Core +namespace DotRecast.Core.Numerics { public struct RcMatrix4x4f { diff --git a/src/DotRecast.Core/RcVec2f.cs b/src/DotRecast.Core/Numerics/RcVec2f.cs similarity index 98% rename from src/DotRecast.Core/RcVec2f.cs rename to src/DotRecast.Core/Numerics/RcVec2f.cs index f3b1397..111f1e8 100644 --- a/src/DotRecast.Core/RcVec2f.cs +++ b/src/DotRecast.Core/Numerics/RcVec2f.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -namespace DotRecast.Core +namespace DotRecast.Core.Numerics { public struct RcVec2f { diff --git a/src/DotRecast.Core/RcVec3f.cs b/src/DotRecast.Core/Numerics/RcVec3f.cs similarity index 99% rename from src/DotRecast.Core/RcVec3f.cs rename to src/DotRecast.Core/Numerics/RcVec3f.cs index c6c360f..4ab3446 100644 --- a/src/DotRecast.Core/RcVec3f.cs +++ b/src/DotRecast.Core/Numerics/RcVec3f.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: using System; using System.Runtime.CompilerServices; -namespace DotRecast.Core +namespace DotRecast.Core.Numerics { public struct RcVec3f { diff --git a/src/DotRecast.Core/RcConvexUtils.cs b/src/DotRecast.Core/RcConvexUtils.cs index 90a6299..e1a300b 100644 --- a/src/DotRecast.Core/RcConvexUtils.cs +++ b/src/DotRecast.Core/RcConvexUtils.cs @@ -18,6 +18,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; +using DotRecast.Core.Numerics; namespace DotRecast.Core { diff --git a/src/DotRecast.Core/RcIntersections.cs b/src/DotRecast.Core/RcIntersections.cs index 1bf2988..4ec130b 100644 --- a/src/DotRecast.Core/RcIntersections.cs +++ b/src/DotRecast.Core/RcIntersections.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: */ using System; +using DotRecast.Core.Numerics; namespace DotRecast.Core { diff --git a/src/DotRecast.Core/RcMath.cs b/src/DotRecast.Core/RcMath.cs index f57d7b1..dd21cd0 100644 --- a/src/DotRecast.Core/RcMath.cs +++ b/src/DotRecast.Core/RcMath.cs @@ -18,7 +18,6 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using System; using System.Runtime.CompilerServices; namespace DotRecast.Core diff --git a/src/DotRecast.Core/RcObjImporter.cs b/src/DotRecast.Core/RcObjImporter.cs index ad17c56..761255c 100644 --- a/src/DotRecast.Core/RcObjImporter.cs +++ b/src/DotRecast.Core/RcObjImporter.cs @@ -20,6 +20,7 @@ freely, subject to the following restrictions: using System; using System.Globalization; using System.IO; +using DotRecast.Core.Numerics; namespace DotRecast.Core { diff --git a/src/DotRecast.Core/RcSegmentVert.cs b/src/DotRecast.Core/RcSegmentVert.cs index 5f72d1b..7cab398 100644 --- a/src/DotRecast.Core/RcSegmentVert.cs +++ b/src/DotRecast.Core/RcSegmentVert.cs @@ -1,4 +1,6 @@ -namespace DotRecast.Core +using DotRecast.Core.Numerics; + +namespace DotRecast.Core { public struct RcSegmentVert { diff --git a/src/DotRecast.Detour.Crowd/DtCrowd.cs b/src/DotRecast.Detour.Crowd/DtCrowd.cs index 03b54c8..47bcf71 100644 --- a/src/DotRecast.Detour.Crowd/DtCrowd.cs +++ b/src/DotRecast.Detour.Crowd/DtCrowd.cs @@ -21,6 +21,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd diff --git a/src/DotRecast.Detour.Crowd/DtCrowdAgent.cs b/src/DotRecast.Detour.Crowd/DtCrowdAgent.cs index b9369af..46553c0 100644 --- a/src/DotRecast.Detour.Crowd/DtCrowdAgent.cs +++ b/src/DotRecast.Detour.Crowd/DtCrowdAgent.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Crowd/DtCrowdAgentAnimation.cs b/src/DotRecast.Detour.Crowd/DtCrowdAgentAnimation.cs index 5159076..21a5252 100644 --- a/src/DotRecast.Detour.Crowd/DtCrowdAgentAnimation.cs +++ b/src/DotRecast.Detour.Crowd/DtCrowdAgentAnimation.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Crowd/DtCrowdAgentDebugInfo.cs b/src/DotRecast.Detour.Crowd/DtCrowdAgentDebugInfo.cs index 47a7648..cf204a0 100644 --- a/src/DotRecast.Detour.Crowd/DtCrowdAgentDebugInfo.cs +++ b/src/DotRecast.Detour.Crowd/DtCrowdAgentDebugInfo.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Crowd/DtCrowdTelemetry.cs b/src/DotRecast.Detour.Crowd/DtCrowdTelemetry.cs index 25f65e0..aadfb79 100644 --- a/src/DotRecast.Detour.Crowd/DtCrowdTelemetry.cs +++ b/src/DotRecast.Detour.Crowd/DtCrowdTelemetry.cs @@ -23,6 +23,7 @@ using System.Diagnostics; using System.Linq; using System.Reflection.Emit; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Crowd/DtLocalBoundary.cs b/src/DotRecast.Detour.Crowd/DtLocalBoundary.cs index abbdad3..6e3393b 100644 --- a/src/DotRecast.Detour.Crowd/DtLocalBoundary.cs +++ b/src/DotRecast.Detour.Crowd/DtLocalBoundary.cs @@ -18,9 +18,9 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd diff --git a/src/DotRecast.Detour.Crowd/DtObstacleAvoidanceDebugData.cs b/src/DotRecast.Detour.Crowd/DtObstacleAvoidanceDebugData.cs index 720c6d0..a4cd86b 100644 --- a/src/DotRecast.Detour.Crowd/DtObstacleAvoidanceDebugData.cs +++ b/src/DotRecast.Detour.Crowd/DtObstacleAvoidanceDebugData.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Crowd/DtObstacleAvoidanceQuery.cs b/src/DotRecast.Detour.Crowd/DtObstacleAvoidanceQuery.cs index 8cb4049..ee3ceb3 100644 --- a/src/DotRecast.Detour.Crowd/DtObstacleAvoidanceQuery.cs +++ b/src/DotRecast.Detour.Crowd/DtObstacleAvoidanceQuery.cs @@ -20,6 +20,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd diff --git a/src/DotRecast.Detour.Crowd/DtObstacleCircle.cs b/src/DotRecast.Detour.Crowd/DtObstacleCircle.cs index cffa201..ba90aaf 100644 --- a/src/DotRecast.Detour.Crowd/DtObstacleCircle.cs +++ b/src/DotRecast.Detour.Crowd/DtObstacleCircle.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Crowd/DtObstacleSegment.cs b/src/DotRecast.Detour.Crowd/DtObstacleSegment.cs index 56f044c..6eab18c 100644 --- a/src/DotRecast.Detour.Crowd/DtObstacleSegment.cs +++ b/src/DotRecast.Detour.Crowd/DtObstacleSegment.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Crowd/DtPathCorridor.cs b/src/DotRecast.Detour.Crowd/DtPathCorridor.cs index 7e98c4c..2711b26 100644 --- a/src/DotRecast.Detour.Crowd/DtPathCorridor.cs +++ b/src/DotRecast.Detour.Crowd/DtPathCorridor.cs @@ -21,12 +21,11 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { - - /** * Represents a dynamic polygon corridor used to plan agent movement. * diff --git a/src/DotRecast.Detour.Crowd/DtPathQuery.cs b/src/DotRecast.Detour.Crowd/DtPathQuery.cs index 2bc9714..b8d13dd 100644 --- a/src/DotRecast.Detour.Crowd/DtPathQuery.cs +++ b/src/DotRecast.Detour.Crowd/DtPathQuery.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Crowd/DtPathQueue.cs b/src/DotRecast.Detour.Crowd/DtPathQueue.cs index a03141b..5e8843b 100644 --- a/src/DotRecast.Detour.Crowd/DtPathQueue.cs +++ b/src/DotRecast.Detour.Crowd/DtPathQueue.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd diff --git a/src/DotRecast.Detour.Crowd/DtSegment.cs b/src/DotRecast.Detour.Crowd/DtSegment.cs index fe49a9e..a7e3a95 100644 --- a/src/DotRecast.Detour.Crowd/DtSegment.cs +++ b/src/DotRecast.Detour.Crowd/DtSegment.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Crowd { diff --git a/src/DotRecast.Detour.Dynamic/Colliders/DtBoxCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/DtBoxCollider.cs index 669d8d5..f58afbb 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/DtBoxCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/DtBoxCollider.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Dynamic.Colliders @@ -92,4 +93,4 @@ namespace DotRecast.Detour.Dynamic.Colliders return halfEdges; } } -} +} \ No newline at end of file diff --git a/src/DotRecast.Detour.Dynamic/Colliders/DtCapsuleCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/DtCapsuleCollider.cs index c6e935f..0bc2ecf 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/DtCapsuleCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/DtCapsuleCollider.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Dynamic.Colliders diff --git a/src/DotRecast.Detour.Dynamic/Colliders/DtCompositeCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/DtCompositeCollider.cs index 6acb515..b73e4c4 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/DtCompositeCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/DtCompositeCollider.cs @@ -74,4 +74,4 @@ namespace DotRecast.Detour.Dynamic.Colliders c.Rasterize(hf, telemetry); } } -} +} \ No newline at end of file diff --git a/src/DotRecast.Detour.Dynamic/Colliders/DtCylinderCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/DtCylinderCollider.cs index dce7d9d..73521b5 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/DtCylinderCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/DtCylinderCollider.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Dynamic.Colliders diff --git a/src/DotRecast.Detour.Dynamic/Colliders/DtSphereCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/DtSphereCollider.cs index 36f8a56..4b1dc7a 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/DtSphereCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/DtSphereCollider.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Dynamic.Colliders diff --git a/src/DotRecast.Detour.Dynamic/DtDynamicTile.cs b/src/DotRecast.Detour.Dynamic/DtDynamicTile.cs index 1e619d8..c5827a7 100644 --- a/src/DotRecast.Detour.Dynamic/DtDynamicTile.cs +++ b/src/DotRecast.Detour.Dynamic/DtDynamicTile.cs @@ -20,7 +20,6 @@ freely, subject to the following restrictions: using System; using System.Collections.Concurrent; using System.Collections.Generic; - using System.Linq; using DotRecast.Core; using DotRecast.Detour.Dynamic.Colliders; diff --git a/src/DotRecast.Detour.Dynamic/DtVoxelQuery.cs b/src/DotRecast.Detour.Dynamic/DtVoxelQuery.cs index f4920b6..2be7087 100644 --- a/src/DotRecast.Detour.Dynamic/DtVoxelQuery.cs +++ b/src/DotRecast.Detour.Dynamic/DtVoxelQuery.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Dynamic diff --git a/src/DotRecast.Detour.Dynamic/Io/DtVoxelFile.cs b/src/DotRecast.Detour.Dynamic/Io/DtVoxelFile.cs index 32a9801..9f53c59 100644 --- a/src/DotRecast.Detour.Dynamic/Io/DtVoxelFile.cs +++ b/src/DotRecast.Detour.Dynamic/Io/DtVoxelFile.cs @@ -20,6 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Dynamic.Io diff --git a/src/DotRecast.Detour.Dynamic/Io/DtVoxelFileReader.cs b/src/DotRecast.Detour.Dynamic/Io/DtVoxelFileReader.cs index 04ec256..c63f285 100644 --- a/src/DotRecast.Detour.Dynamic/Io/DtVoxelFileReader.cs +++ b/src/DotRecast.Detour.Dynamic/Io/DtVoxelFileReader.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Io; namespace DotRecast.Detour.Dynamic.Io diff --git a/src/DotRecast.Detour.Dynamic/Io/DtVoxelFileWriter.cs b/src/DotRecast.Detour.Dynamic/Io/DtVoxelFileWriter.cs index ed3a02b..70ed7b2 100644 --- a/src/DotRecast.Detour.Dynamic/Io/DtVoxelFileWriter.cs +++ b/src/DotRecast.Detour.Dynamic/Io/DtVoxelFileWriter.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Io; namespace DotRecast.Detour.Dynamic.Io diff --git a/src/DotRecast.Detour.Dynamic/Io/DtVoxelTile.cs b/src/DotRecast.Detour.Dynamic/Io/DtVoxelTile.cs index 2ce4af6..b50addc 100644 --- a/src/DotRecast.Detour.Dynamic/Io/DtVoxelTile.cs +++ b/src/DotRecast.Detour.Dynamic/Io/DtVoxelTile.cs @@ -18,6 +18,7 @@ freely, subject to the following restrictions: */ using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Dynamic.Io diff --git a/src/DotRecast.Detour.Extras/BVTreeBuilder.cs b/src/DotRecast.Detour.Extras/BVTreeBuilder.cs index 1698b46..b7539c7 100644 --- a/src/DotRecast.Detour.Extras/BVTreeBuilder.cs +++ b/src/DotRecast.Detour.Extras/BVTreeBuilder.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras diff --git a/src/DotRecast.Detour.Extras/Jumplink/AbstractGroundSampler.cs b/src/DotRecast.Detour.Extras/Jumplink/AbstractGroundSampler.cs index 03f66ab..0f7614d 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/AbstractGroundSampler.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/AbstractGroundSampler.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Extras.Jumplink diff --git a/src/DotRecast.Detour.Extras/Jumplink/ClimbTrajectory.cs b/src/DotRecast.Detour.Extras/Jumplink/ClimbTrajectory.cs index 77fc552..e11ac57 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/ClimbTrajectory.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/ClimbTrajectory.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Jumplink { diff --git a/src/DotRecast.Detour.Extras/Jumplink/EdgeExtractor.cs b/src/DotRecast.Detour.Extras/Jumplink/EdgeExtractor.cs index 8f9b20f..3b6f852 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/EdgeExtractor.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/EdgeExtractor.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; using static DotRecast.Recast.RcConstants; diff --git a/src/DotRecast.Detour.Extras/Jumplink/EdgeSampler.cs b/src/DotRecast.Detour.Extras/Jumplink/EdgeSampler.cs index ddcf46b..9ab300a 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/EdgeSampler.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/EdgeSampler.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Jumplink { diff --git a/src/DotRecast.Detour.Extras/Jumplink/EdgeSamplerFactory.cs b/src/DotRecast.Detour.Extras/Jumplink/EdgeSamplerFactory.cs index 67279ff..2cfe46e 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/EdgeSamplerFactory.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/EdgeSamplerFactory.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Jumplink { diff --git a/src/DotRecast.Detour.Extras/Jumplink/GroundSample.cs b/src/DotRecast.Detour.Extras/Jumplink/GroundSample.cs index 856f6bd..41cffc1 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/GroundSample.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/GroundSample.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Jumplink { diff --git a/src/DotRecast.Detour.Extras/Jumplink/GroundSegment.cs b/src/DotRecast.Detour.Extras/Jumplink/GroundSegment.cs index bdc387d..1268bba 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/GroundSegment.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/GroundSegment.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Jumplink { diff --git a/src/DotRecast.Detour.Extras/Jumplink/JumpEdge.cs b/src/DotRecast.Detour.Extras/Jumplink/JumpEdge.cs index 7c31f0e..36a889b 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/JumpEdge.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/JumpEdge.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Jumplink { diff --git a/src/DotRecast.Detour.Extras/Jumplink/JumpLinkBuilder.cs b/src/DotRecast.Detour.Extras/Jumplink/JumpLinkBuilder.cs index 39fb375..e9391cf 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/JumpLinkBuilder.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/JumpLinkBuilder.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Linq; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; namespace DotRecast.Detour.Extras.Jumplink diff --git a/src/DotRecast.Detour.Extras/Jumplink/JumpTrajectory.cs b/src/DotRecast.Detour.Extras/Jumplink/JumpTrajectory.cs index 413da74..07221db 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/JumpTrajectory.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/JumpTrajectory.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Jumplink { diff --git a/src/DotRecast.Detour.Extras/Jumplink/NavMeshGroundSampler.cs b/src/DotRecast.Detour.Extras/Jumplink/NavMeshGroundSampler.cs index 1bf018e..870a192 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/NavMeshGroundSampler.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/NavMeshGroundSampler.cs @@ -1,5 +1,5 @@ -using System; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; diff --git a/src/DotRecast.Detour.Extras/Jumplink/Trajectory.cs b/src/DotRecast.Detour.Extras/Jumplink/Trajectory.cs index f253df0..4e3cc7d 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/Trajectory.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/Trajectory.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Jumplink { diff --git a/src/DotRecast.Detour.Extras/Jumplink/TrajectorySampler.cs b/src/DotRecast.Detour.Extras/Jumplink/TrajectorySampler.cs index 2126495..2b006be 100644 --- a/src/DotRecast.Detour.Extras/Jumplink/TrajectorySampler.cs +++ b/src/DotRecast.Detour.Extras/Jumplink/TrajectorySampler.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeshDataReader.cs b/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeshDataReader.cs index 4cd566a..140134f 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeshDataReader.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeshDataReader.cs @@ -18,7 +18,6 @@ freely, subject to the following restrictions: using System; using System.IO.Compression; - using DotRecast.Core; namespace DotRecast.Detour.Extras.Unity.Astar @@ -127,15 +126,15 @@ namespace DotRecast.Detour.Extras.Unity.Astar header.detailTriCount = nodeCount; header.maxLinkCount = nodeCount * 3 * 2; // XXX: Needed by Recast, not needed by recast4j header.bmin.X = meta.forcedBoundsCenter.x - 0.5f * meta.forcedBoundsSize.x - + meta.cellSize * meta.tileSizeX * x; + + meta.cellSize * meta.tileSizeX * x; header.bmin.Y = ymin; header.bmin.Z = meta.forcedBoundsCenter.z - 0.5f * meta.forcedBoundsSize.z - + meta.cellSize * meta.tileSizeZ * z; + + meta.cellSize * meta.tileSizeZ * z; header.bmax.X = meta.forcedBoundsCenter.x - 0.5f * meta.forcedBoundsSize.x - + meta.cellSize * meta.tileSizeX * (x + 1); + + meta.cellSize * meta.tileSizeX * (x + 1); header.bmax.Y = ymax; header.bmax.Z = meta.forcedBoundsCenter.z - 0.5f * meta.forcedBoundsSize.z - + meta.cellSize * meta.tileSizeZ * (z + 1); + + meta.cellSize * meta.tileSizeZ * (z + 1); header.bvQuantFactor = 1.0f / meta.cellSize; header.offMeshBase = nodeCount; header.walkableClimb = meta.walkableClimb; @@ -171,4 +170,4 @@ namespace DotRecast.Detour.Extras.Unity.Astar return vertMask; } } -} +} \ No newline at end of file diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeta.cs b/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeta.cs index 38698b2..fe69eb2 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeta.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeta.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Unity.Astar { diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2.cs b/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2.cs index 7852af6..9f89e55 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Unity.Astar { diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2Reader.cs b/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2Reader.cs index db65cd4..49add07 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2Reader.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2Reader.cs @@ -18,6 +18,7 @@ freely, subject to the following restrictions: using System.IO.Compression; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Unity.Astar { diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/OffMeshLinkCreator.cs b/src/DotRecast.Detour.Extras/Unity/Astar/OffMeshLinkCreator.cs index 1151a94..fb12265 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/OffMeshLinkCreator.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/OffMeshLinkCreator.cs @@ -18,6 +18,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Extras.Unity.Astar { diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/ZipBinaryReader.cs b/src/DotRecast.Detour.Extras/Unity/Astar/ZipBinaryReader.cs index 9a34fe2..b7a2f9f 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/ZipBinaryReader.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/ZipBinaryReader.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System.IO; using System.IO.Compression; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Io; namespace DotRecast.Detour.Extras.Unity.Astar diff --git a/src/DotRecast.Detour.TileCache/DtTileCache.cs b/src/DotRecast.Detour.TileCache/DtTileCache.cs index 3f55690..0ccb36d 100644 --- a/src/DotRecast.Detour.TileCache/DtTileCache.cs +++ b/src/DotRecast.Detour.TileCache/DtTileCache.cs @@ -21,6 +21,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.TileCache.Io; namespace DotRecast.Detour.TileCache diff --git a/src/DotRecast.Detour.TileCache/DtTileCacheBuilder.cs b/src/DotRecast.Detour.TileCache/DtTileCacheBuilder.cs index afd447e..e9668a2 100644 --- a/src/DotRecast.Detour.TileCache/DtTileCacheBuilder.cs +++ b/src/DotRecast.Detour.TileCache/DtTileCacheBuilder.cs @@ -22,6 +22,7 @@ using System; using System.Collections.Generic; using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.TileCache.Io; using DotRecast.Detour.TileCache.Io.Compress; diff --git a/src/DotRecast.Detour.TileCache/DtTileCacheLayerBuilder.cs b/src/DotRecast.Detour.TileCache/DtTileCacheLayerBuilder.cs index 88686a0..269de2a 100644 --- a/src/DotRecast.Detour.TileCache/DtTileCacheLayerBuilder.cs +++ b/src/DotRecast.Detour.TileCache/DtTileCacheLayerBuilder.cs @@ -23,7 +23,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.TileCache.Io.Compress; using DotRecast.Recast; using DotRecast.Recast.Geom; diff --git a/src/DotRecast.Detour.TileCache/DtTileCacheLayerHeader.cs b/src/DotRecast.Detour.TileCache/DtTileCacheLayerHeader.cs index fd4a5c0..52a9d2c 100644 --- a/src/DotRecast.Detour.TileCache/DtTileCacheLayerHeader.cs +++ b/src/DotRecast.Detour.TileCache/DtTileCacheLayerHeader.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.TileCache { diff --git a/src/DotRecast.Detour.TileCache/DtTileCacheObstacle.cs b/src/DotRecast.Detour.TileCache/DtTileCacheObstacle.cs index 3942086..3f4d4b5 100644 --- a/src/DotRecast.Detour.TileCache/DtTileCacheObstacle.cs +++ b/src/DotRecast.Detour.TileCache/DtTileCacheObstacle.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.TileCache { diff --git a/src/DotRecast.Detour.TileCache/DtTileCacheParams.cs b/src/DotRecast.Detour.TileCache/DtTileCacheParams.cs index fc66edf..2ac24c9 100644 --- a/src/DotRecast.Detour.TileCache/DtTileCacheParams.cs +++ b/src/DotRecast.Detour.TileCache/DtTileCacheParams.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.TileCache { diff --git a/src/DotRecast.Detour.TileCache/Io/DtTileCacheWriter.cs b/src/DotRecast.Detour.TileCache/Io/DtTileCacheWriter.cs index 9ff3e44..f68a57f 100644 --- a/src/DotRecast.Detour.TileCache/Io/DtTileCacheWriter.cs +++ b/src/DotRecast.Detour.TileCache/Io/DtTileCacheWriter.cs @@ -30,7 +30,7 @@ namespace DotRecast.Detour.TileCache.Io private readonly DtNavMeshParamWriter paramWriter = new DtNavMeshParamWriter(); private readonly DtTileCacheBuilder builder = new DtTileCacheBuilder(); private readonly IDtTileCacheCompressorFactory _compFactory; - + public DtTileCacheWriter(IDtTileCacheCompressorFactory compFactory) { _compFactory = compFactory; diff --git a/src/DotRecast.Detour/DtConvexConvexIntersections.cs b/src/DotRecast.Detour/DtConvexConvexIntersections.cs index 227a185..617fda9 100644 --- a/src/DotRecast.Detour/DtConvexConvexIntersections.cs +++ b/src/DotRecast.Detour/DtConvexConvexIntersections.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtDefaultQueryHeuristic.cs b/src/DotRecast.Detour/DtDefaultQueryHeuristic.cs index 9e5a222..377d2df 100644 --- a/src/DotRecast.Detour/DtDefaultQueryHeuristic.cs +++ b/src/DotRecast.Detour/DtDefaultQueryHeuristic.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour diff --git a/src/DotRecast.Detour/DtFindNearestPolyQuery.cs b/src/DotRecast.Detour/DtFindNearestPolyQuery.cs index 63709b2..06e6c4e 100644 --- a/src/DotRecast.Detour/DtFindNearestPolyQuery.cs +++ b/src/DotRecast.Detour/DtFindNearestPolyQuery.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtMeshHeader.cs b/src/DotRecast.Detour/DtMeshHeader.cs index ee217f5..99e8586 100644 --- a/src/DotRecast.Detour/DtMeshHeader.cs +++ b/src/DotRecast.Detour/DtMeshHeader.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtNavMesh.cs b/src/DotRecast.Detour/DtNavMesh.cs index ff3ec30..4955447 100644 --- a/src/DotRecast.Detour/DtNavMesh.cs +++ b/src/DotRecast.Detour/DtNavMesh.cs @@ -21,6 +21,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtNavMeshBuilder.cs b/src/DotRecast.Detour/DtNavMeshBuilder.cs index 0b64949..b648672 100644 --- a/src/DotRecast.Detour/DtNavMeshBuilder.cs +++ b/src/DotRecast.Detour/DtNavMeshBuilder.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtNavMeshCreateParams.cs b/src/DotRecast.Detour/DtNavMeshCreateParams.cs index d836dd7..741671f 100644 --- a/src/DotRecast.Detour/DtNavMeshCreateParams.cs +++ b/src/DotRecast.Detour/DtNavMeshCreateParams.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtNavMeshParams.cs b/src/DotRecast.Detour/DtNavMeshParams.cs index ddaba1d..81cf963 100644 --- a/src/DotRecast.Detour/DtNavMeshParams.cs +++ b/src/DotRecast.Detour/DtNavMeshParams.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtNavMeshQuery.cs b/src/DotRecast.Detour/DtNavMeshQuery.cs index c9d630d..6b2199b 100644 --- a/src/DotRecast.Detour/DtNavMeshQuery.cs +++ b/src/DotRecast.Detour/DtNavMeshQuery.cs @@ -21,11 +21,10 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { - using static DtNode; - public class DtNavMeshQuery { /// < Add a vertex at every polygon edge crossing. diff --git a/src/DotRecast.Detour/DtNavMeshRaycast.cs b/src/DotRecast.Detour/DtNavMeshRaycast.cs index af90133..3c9865d 100644 --- a/src/DotRecast.Detour/DtNavMeshRaycast.cs +++ b/src/DotRecast.Detour/DtNavMeshRaycast.cs @@ -18,6 +18,7 @@ freely, subject to the following restrictions: */ using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtNoOpDtPolygonByCircleConstraint.cs b/src/DotRecast.Detour/DtNoOpDtPolygonByCircleConstraint.cs index ef40f6e..01cc576 100644 --- a/src/DotRecast.Detour/DtNoOpDtPolygonByCircleConstraint.cs +++ b/src/DotRecast.Detour/DtNoOpDtPolygonByCircleConstraint.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtNode.cs b/src/DotRecast.Detour/DtNode.cs index e583bbf..ed94100 100644 --- a/src/DotRecast.Detour/DtNode.cs +++ b/src/DotRecast.Detour/DtNode.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtPathUtils.cs b/src/DotRecast.Detour/DtPathUtils.cs index b186ee8..66469e4 100644 --- a/src/DotRecast.Detour/DtPathUtils.cs +++ b/src/DotRecast.Detour/DtPathUtils.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtPolyPoint.cs b/src/DotRecast.Detour/DtPolyPoint.cs index 1704884..0ca78c0 100644 --- a/src/DotRecast.Detour/DtPolyPoint.cs +++ b/src/DotRecast.Detour/DtPolyPoint.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtQueryData.cs b/src/DotRecast.Detour/DtQueryData.cs index ea925c2..6d1e455 100644 --- a/src/DotRecast.Detour/DtQueryData.cs +++ b/src/DotRecast.Detour/DtQueryData.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtQueryDefaultFilter.cs b/src/DotRecast.Detour/DtQueryDefaultFilter.cs index 6852ca6..4bbffa2 100644 --- a/src/DotRecast.Detour/DtQueryDefaultFilter.cs +++ b/src/DotRecast.Detour/DtQueryDefaultFilter.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtQueryEmptyFilter.cs b/src/DotRecast.Detour/DtQueryEmptyFilter.cs index b3d7ff7..28a722c 100644 --- a/src/DotRecast.Detour/DtQueryEmptyFilter.cs +++ b/src/DotRecast.Detour/DtQueryEmptyFilter.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtQueryNoOpFilter.cs b/src/DotRecast.Detour/DtQueryNoOpFilter.cs index c782583..f7e0574 100644 --- a/src/DotRecast.Detour/DtQueryNoOpFilter.cs +++ b/src/DotRecast.Detour/DtQueryNoOpFilter.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtRaycastHit.cs b/src/DotRecast.Detour/DtRaycastHit.cs index aa25eb9..cdd6219 100644 --- a/src/DotRecast.Detour/DtRaycastHit.cs +++ b/src/DotRecast.Detour/DtRaycastHit.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtStraightPath.cs b/src/DotRecast.Detour/DtStraightPath.cs index a04d740..2ad3313 100644 --- a/src/DotRecast.Detour/DtStraightPath.cs +++ b/src/DotRecast.Detour/DtStraightPath.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtStrictDtPolygonByCircleConstraint.cs b/src/DotRecast.Detour/DtStrictDtPolygonByCircleConstraint.cs index 9135cb3..d09a072 100644 --- a/src/DotRecast.Detour/DtStrictDtPolygonByCircleConstraint.cs +++ b/src/DotRecast.Detour/DtStrictDtPolygonByCircleConstraint.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/DtUtils.cs b/src/DotRecast.Detour/DtUtils.cs index 0c5e585..ce88867 100644 --- a/src/DotRecast.Detour/DtUtils.cs +++ b/src/DotRecast.Detour/DtUtils.cs @@ -1,5 +1,6 @@ using System; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/IDtPolygonByCircleConstraint.cs b/src/DotRecast.Detour/IDtPolygonByCircleConstraint.cs index 21c05b2..e0927a4 100644 --- a/src/DotRecast.Detour/IDtPolygonByCircleConstraint.cs +++ b/src/DotRecast.Detour/IDtPolygonByCircleConstraint.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/IDtQueryFilter.cs b/src/DotRecast.Detour/IDtQueryFilter.cs index bf56a66..a51213d 100644 --- a/src/DotRecast.Detour/IDtQueryFilter.cs +++ b/src/DotRecast.Detour/IDtQueryFilter.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/IDtQueryHeuristic.cs b/src/DotRecast.Detour/IDtQueryHeuristic.cs index 8a5c051..aa71931 100644 --- a/src/DotRecast.Detour/IDtQueryHeuristic.cs +++ b/src/DotRecast.Detour/IDtQueryHeuristic.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour { diff --git a/src/DotRecast.Detour/Io/DtMeshSetWriter.cs b/src/DotRecast.Detour/Io/DtMeshSetWriter.cs index 63357a4..4568813 100644 --- a/src/DotRecast.Detour/Io/DtMeshSetWriter.cs +++ b/src/DotRecast.Detour/Io/DtMeshSetWriter.cs @@ -18,6 +18,7 @@ freely, subject to the following restrictions: using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Io { diff --git a/src/DotRecast.Detour/Io/DtNavMeshParamWriter.cs b/src/DotRecast.Detour/Io/DtNavMeshParamWriter.cs index 865b060..9aab820 100644 --- a/src/DotRecast.Detour/Io/DtNavMeshParamWriter.cs +++ b/src/DotRecast.Detour/Io/DtNavMeshParamWriter.cs @@ -1,5 +1,6 @@ using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Detour.Io { diff --git a/src/DotRecast.Recast.Demo/Draw/DebugDraw.cs b/src/DotRecast.Recast.Demo/Draw/DebugDraw.cs index 54de7e6..3e9bd83 100644 --- a/src/DotRecast.Recast.Demo/Draw/DebugDraw.cs +++ b/src/DotRecast.Recast.Demo/Draw/DebugDraw.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using Silk.NET.OpenGL; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Toolset.Builder; namespace DotRecast.Recast.Demo.Draw; diff --git a/src/DotRecast.Recast.Demo/Draw/GLU.cs b/src/DotRecast.Recast.Demo/Draw/GLU.cs index a481df8..eaa6090 100644 --- a/src/DotRecast.Recast.Demo/Draw/GLU.cs +++ b/src/DotRecast.Recast.Demo/Draw/GLU.cs @@ -18,6 +18,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Demo.Draw; diff --git a/src/DotRecast.Recast.Demo/Draw/IOpenGLDraw.cs b/src/DotRecast.Recast.Demo/Draw/IOpenGLDraw.cs index 4b6e098..0558c41 100644 --- a/src/DotRecast.Recast.Demo/Draw/IOpenGLDraw.cs +++ b/src/DotRecast.Recast.Demo/Draw/IOpenGLDraw.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Demo.Draw; diff --git a/src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs b/src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs index f942240..0a4e41f 100644 --- a/src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs +++ b/src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs @@ -1,7 +1,7 @@ using System; using System.IO; using Silk.NET.OpenGL; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Demo.Draw; diff --git a/src/DotRecast.Recast.Demo/Draw/NavMeshRenderer.cs b/src/DotRecast.Recast.Demo/Draw/NavMeshRenderer.cs index 76bc43e..0ede906 100644 --- a/src/DotRecast.Recast.Demo/Draw/NavMeshRenderer.cs +++ b/src/DotRecast.Recast.Demo/Draw/NavMeshRenderer.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Recast.Toolset.Builder; using DotRecast.Recast.Toolset.Geom; diff --git a/src/DotRecast.Recast.Demo/Draw/OpenGLVertex.cs b/src/DotRecast.Recast.Demo/Draw/OpenGLVertex.cs index c6f9da1..465d2e2 100644 --- a/src/DotRecast.Recast.Demo/Draw/OpenGLVertex.cs +++ b/src/DotRecast.Recast.Demo/Draw/OpenGLVertex.cs @@ -1,7 +1,7 @@ using System; using System.IO; using System.Runtime.InteropServices; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Demo.Draw; diff --git a/src/DotRecast.Recast.Demo/Draw/RecastDebugDraw.cs b/src/DotRecast.Recast.Demo/Draw/RecastDebugDraw.cs index 26cae3d..b71bb81 100644 --- a/src/DotRecast.Recast.Demo/Draw/RecastDebugDraw.cs +++ b/src/DotRecast.Recast.Demo/Draw/RecastDebugDraw.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Recast.Toolset.Builder; using Silk.NET.OpenGL; diff --git a/src/DotRecast.Recast.Demo/DtVoxelTileLZ4DemoCompressor.cs b/src/DotRecast.Recast.Demo/DtVoxelTileLZ4DemoCompressor.cs index b82e720..4641507 100644 --- a/src/DotRecast.Recast.Demo/DtVoxelTileLZ4DemoCompressor.cs +++ b/src/DotRecast.Recast.Demo/DtVoxelTileLZ4DemoCompressor.cs @@ -1,6 +1,5 @@ using System; using DotRecast.Core; -using DotRecast.Detour.Dynamic.Io; using K4os.Compression.LZ4; namespace DotRecast.Recast.Demo; diff --git a/src/DotRecast.Recast.Demo/Messages/RaycastEvent.cs b/src/DotRecast.Recast.Demo/Messages/RaycastEvent.cs index ea38ca4..916fca1 100644 --- a/src/DotRecast.Recast.Demo/Messages/RaycastEvent.cs +++ b/src/DotRecast.Recast.Demo/Messages/RaycastEvent.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Demo.Messages; diff --git a/src/DotRecast.Recast.Demo/RecastDemo.cs b/src/DotRecast.Recast.Demo/RecastDemo.cs index e44ee5c..5cbf46c 100644 --- a/src/DotRecast.Recast.Demo/RecastDemo.cs +++ b/src/DotRecast.Recast.Demo/RecastDemo.cs @@ -25,6 +25,7 @@ using System.Globalization; using System.IO; using System.Linq; using System.Numerics; +using DotRecast.Core; using Serilog; using Silk.NET.Input; using Silk.NET.Maths; @@ -32,7 +33,7 @@ using Silk.NET.OpenGL; using Silk.NET.OpenGL.Extensions.ImGui; using Silk.NET.Windowing; using ImGuiNET; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Detour.Extras.Unity.Astar; using DotRecast.Detour.Io; diff --git a/src/DotRecast.Recast.Demo/Tools/ConvexVolumeSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/ConvexVolumeSampleTool.cs index 2282655..ea5eb5e 100644 --- a/src/DotRecast.Recast.Demo/Tools/ConvexVolumeSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/ConvexVolumeSampleTool.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Toolset.Builder; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.Toolset; diff --git a/src/DotRecast.Recast.Demo/Tools/CrowdAgentProfilingSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/CrowdAgentProfilingSampleTool.cs index 68ac2cf..200bf94 100644 --- a/src/DotRecast.Recast.Demo/Tools/CrowdAgentProfilingSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/CrowdAgentProfilingSampleTool.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using System.Linq; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Detour.Crowd; using DotRecast.Recast.Toolset.Builder; diff --git a/src/DotRecast.Recast.Demo/Tools/CrowdSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/CrowdSampleTool.cs index 23d7ac7..6ab3f98 100644 --- a/src/DotRecast.Recast.Demo/Tools/CrowdSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/CrowdSampleTool.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Detour.Crowd; diff --git a/src/DotRecast.Recast.Demo/Tools/DynamicUpdateSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/DynamicUpdateSampleTool.cs index eecd9c7..1c87bd2 100644 --- a/src/DotRecast.Recast.Demo/Tools/DynamicUpdateSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/DynamicUpdateSampleTool.cs @@ -19,14 +19,12 @@ freely, subject to the following restrictions: using System; -using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Dynamic; -using DotRecast.Detour.Dynamic.Io; using DotRecast.Recast.Toolset; -using DotRecast.Recast.Toolset.Gizmos; using DotRecast.Recast.Toolset.Tools; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.Demo.UI; diff --git a/src/DotRecast.Recast.Demo/Tools/GizmoRenderer.cs b/src/DotRecast.Recast.Demo/Tools/GizmoRenderer.cs index d6e0896..5e5b5ce 100644 --- a/src/DotRecast.Recast.Demo/Tools/GizmoRenderer.cs +++ b/src/DotRecast.Recast.Demo/Tools/GizmoRenderer.cs @@ -1,9 +1,9 @@ using System; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.Toolset.Gizmos; - namespace DotRecast.Recast.Demo.Tools; public static class GizmoRenderer diff --git a/src/DotRecast.Recast.Demo/Tools/ISampleTool.cs b/src/DotRecast.Recast.Demo/Tools/ISampleTool.cs index 30fb866..bd9490d 100644 --- a/src/DotRecast.Recast.Demo/Tools/ISampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/ISampleTool.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.Toolset; diff --git a/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderSampleTool.cs index 3f3e443..7a33b6b 100644 --- a/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderSampleTool.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Extras.Jumplink; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.Toolset; diff --git a/src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs index 34b0ef2..b02e568 100644 --- a/src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs @@ -1,4 +1,5 @@ using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.TileCache; using DotRecast.Detour.TileCache.Io.Compress; using DotRecast.Recast.Demo.Draw; diff --git a/src/DotRecast.Recast.Demo/Tools/OffMeshConnectionSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/OffMeshConnectionSampleTool.cs index 51cb54c..feb38f9 100644 --- a/src/DotRecast.Recast.Demo/Tools/OffMeshConnectionSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/OffMeshConnectionSampleTool.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.Toolset; using DotRecast.Recast.Toolset.Geom; diff --git a/src/DotRecast.Recast.Demo/Tools/TestNavmeshSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/TestNavmeshSampleTool.cs index ef08a22..9f9e43d 100644 --- a/src/DotRecast.Recast.Demo/Tools/TestNavmeshSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/TestNavmeshSampleTool.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Recast.Toolset.Builder; using DotRecast.Recast.Demo.Draw; diff --git a/src/DotRecast.Recast.Demo/Tools/TileSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/TileSampleTool.cs index 8dded10..327989c 100644 --- a/src/DotRecast.Recast.Demo/Tools/TileSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/TileSampleTool.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.Toolset; using DotRecast.Recast.Toolset.Builder; diff --git a/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs b/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs index 34f0030..b9d6088 100644 --- a/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs +++ b/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs @@ -20,6 +20,7 @@ using System; using System.IO; using System.Numerics; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Demo.Draw; using DotRecast.Recast.Demo.Messages; using ImGuiNET; diff --git a/src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs b/src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs index 82b17b5..35f5428 100644 --- a/src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs +++ b/src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs @@ -16,8 +16,6 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using System; -using System.Collections.Generic; using DotRecast.Core; using DotRecast.Detour; using DotRecast.Recast.Toolset.Geom; diff --git a/src/DotRecast.Recast.Toolset/Geom/DemoInputGeomProvider.cs b/src/DotRecast.Recast.Toolset/Geom/DemoInputGeomProvider.cs index 523a028..7d16ac8 100644 --- a/src/DotRecast.Recast.Toolset/Geom/DemoInputGeomProvider.cs +++ b/src/DotRecast.Recast.Toolset/Geom/DemoInputGeomProvider.cs @@ -21,6 +21,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Geom; namespace DotRecast.Recast.Toolset.Geom diff --git a/src/DotRecast.Recast.Toolset/Gizmos/RcBoxGizmo.cs b/src/DotRecast.Recast.Toolset/Gizmos/RcBoxGizmo.cs index 93d33df..924f24a 100644 --- a/src/DotRecast.Recast.Toolset/Gizmos/RcBoxGizmo.cs +++ b/src/DotRecast.Recast.Toolset/Gizmos/RcBoxGizmo.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Dynamic.Colliders; namespace DotRecast.Recast.Toolset.Gizmos diff --git a/src/DotRecast.Recast.Toolset/Gizmos/RcCapsuleGizmo.cs b/src/DotRecast.Recast.Toolset/Gizmos/RcCapsuleGizmo.cs index 854ad86..f45651f 100644 --- a/src/DotRecast.Recast.Toolset/Gizmos/RcCapsuleGizmo.cs +++ b/src/DotRecast.Recast.Toolset/Gizmos/RcCapsuleGizmo.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using static DotRecast.Recast.Toolset.Gizmos.RcGizmoHelper; diff --git a/src/DotRecast.Recast.Toolset/Gizmos/RcCylinderGizmo.cs b/src/DotRecast.Recast.Toolset/Gizmos/RcCylinderGizmo.cs index 63b47e2..7a3389b 100644 --- a/src/DotRecast.Recast.Toolset/Gizmos/RcCylinderGizmo.cs +++ b/src/DotRecast.Recast.Toolset/Gizmos/RcCylinderGizmo.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using static DotRecast.Recast.Toolset.Gizmos.RcGizmoHelper; diff --git a/src/DotRecast.Recast.Toolset/Gizmos/RcGizmoFactory.cs b/src/DotRecast.Recast.Toolset/Gizmos/RcGizmoFactory.cs index 62aece4..c1b86be 100644 --- a/src/DotRecast.Recast.Toolset/Gizmos/RcGizmoFactory.cs +++ b/src/DotRecast.Recast.Toolset/Gizmos/RcGizmoFactory.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Toolset.Gizmos { diff --git a/src/DotRecast.Recast.Toolset/Gizmos/RcSphereGizmo.cs b/src/DotRecast.Recast.Toolset/Gizmos/RcSphereGizmo.cs index f3ab52f..06a93be 100644 --- a/src/DotRecast.Recast.Toolset/Gizmos/RcSphereGizmo.cs +++ b/src/DotRecast.Recast.Toolset/Gizmos/RcSphereGizmo.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; using static DotRecast.Recast.Toolset.Gizmos.RcGizmoHelper; diff --git a/src/DotRecast.Recast.Toolset/Tools/RcConvexVolumeTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcConvexVolumeTool.cs index 0459119..0271a46 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcConvexVolumeTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcConvexVolumeTool.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Geom; namespace DotRecast.Recast.Toolset.Tools @@ -81,7 +82,7 @@ namespace DotRecast.Recast.Toolset.Tools for (int i = 0; i < vols.Count; ++i) { if (RcAreas.PointInPoly(vols[i].verts, pos) && pos.Y >= vols[i].hmin - && pos.Y <= vols[i].hmax) + && pos.Y <= vols[i].hmax) { nearestIndex = i; } diff --git a/src/DotRecast.Recast.Toolset/Tools/RcCrowdAgentData.cs b/src/DotRecast.Recast.Toolset/Tools/RcCrowdAgentData.cs index a2f6560..96b6e22 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcCrowdAgentData.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcCrowdAgentData.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Toolset.Tools { diff --git a/src/DotRecast.Recast.Toolset/Tools/RcCrowdAgentProfilingTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcCrowdAgentProfilingTool.cs index 581ea4d..f6336e0 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcCrowdAgentProfilingTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcCrowdAgentProfilingTool.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Detour.Crowd; using DotRecast.Recast.Toolset.Builder; diff --git a/src/DotRecast.Recast.Toolset/Tools/RcCrowdTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcCrowdTool.cs index ed2bc43..3e1d57a 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcCrowdTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcCrowdTool.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Detour.Crowd; - using DotRecast.Recast.Toolset.Builder; namespace DotRecast.Recast.Toolset.Tools diff --git a/src/DotRecast.Recast.Toolset/Tools/RcDynamicUpdateTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcDynamicUpdateTool.cs index 8567021..ae8d608 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcDynamicUpdateTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcDynamicUpdateTool.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Dynamic; using DotRecast.Detour.Dynamic.Colliders; using DotRecast.Detour.Dynamic.Io; diff --git a/src/DotRecast.Recast.Toolset/Tools/RcJumpLinkBuilderTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcJumpLinkBuilderTool.cs index 16ae92b..3dbf430 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcJumpLinkBuilderTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcJumpLinkBuilderTool.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Extras.Jumplink; using DotRecast.Recast.Geom; using DotRecast.Recast.Toolset.Builder; diff --git a/src/DotRecast.Recast.Toolset/Tools/RcObstacleTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcObstacleTool.cs index dfde22e..8d5b1b2 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcObstacleTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcObstacleTool.cs @@ -1,7 +1,7 @@ using System; -using System.Collections.Generic; using System.Linq; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Detour.TileCache; using DotRecast.Detour.TileCache.Io.Compress; diff --git a/src/DotRecast.Recast.Toolset/Tools/RcOffMeshConnectionTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcOffMeshConnectionTool.cs index 7246409..bd37f29 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcOffMeshConnectionTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcOffMeshConnectionTool.cs @@ -1,5 +1,5 @@ using System; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Geom; using DotRecast.Recast.Toolset.Builder; diff --git a/src/DotRecast.Recast.Toolset/Tools/RcTestNavMeshTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcTestNavMeshTool.cs index 5d1d160..d7ca8f0 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcTestNavMeshTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcTestNavMeshTool.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; namespace DotRecast.Recast.Toolset.Tools diff --git a/src/DotRecast.Recast.Toolset/Tools/RcTileTool.cs b/src/DotRecast.Recast.Toolset/Tools/RcTileTool.cs index 612fb9c..b4119d5 100644 --- a/src/DotRecast.Recast.Toolset/Tools/RcTileTool.cs +++ b/src/DotRecast.Recast.Toolset/Tools/RcTileTool.cs @@ -1,5 +1,6 @@ using System.Linq; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour; using DotRecast.Recast.Geom; using DotRecast.Recast.Toolset.Builder; diff --git a/src/DotRecast.Recast/Geom/BoundsItem.cs b/src/DotRecast.Recast/Geom/BoundsItem.cs index 7ae8dfb..d9e9f99 100644 --- a/src/DotRecast.Recast/Geom/BoundsItem.cs +++ b/src/DotRecast.Recast/Geom/BoundsItem.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Geom { diff --git a/src/DotRecast.Recast/Geom/IInputGeomProvider.cs b/src/DotRecast.Recast/Geom/IInputGeomProvider.cs index 5abe5b3..32215bb 100644 --- a/src/DotRecast.Recast/Geom/IInputGeomProvider.cs +++ b/src/DotRecast.Recast/Geom/IInputGeomProvider.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Geom { diff --git a/src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs b/src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs index 0c7faf9..e78b9e5 100644 --- a/src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs +++ b/src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Geom { diff --git a/src/DotRecast.Recast/Geom/RcChunkyTriMeshNode.cs b/src/DotRecast.Recast/Geom/RcChunkyTriMeshNode.cs index d884d61..830c6c1 100644 --- a/src/DotRecast.Recast/Geom/RcChunkyTriMeshNode.cs +++ b/src/DotRecast.Recast/Geom/RcChunkyTriMeshNode.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Geom { diff --git a/src/DotRecast.Recast/Geom/RcOffMeshConnection.cs b/src/DotRecast.Recast/Geom/RcOffMeshConnection.cs index cb1f538..599c53a 100644 --- a/src/DotRecast.Recast/Geom/RcOffMeshConnection.cs +++ b/src/DotRecast.Recast/Geom/RcOffMeshConnection.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Geom { diff --git a/src/DotRecast.Recast/Geom/SimpleInputGeomProvider.cs b/src/DotRecast.Recast/Geom/SimpleInputGeomProvider.cs index 9d57445..8fe01e3 100644 --- a/src/DotRecast.Recast/Geom/SimpleInputGeomProvider.cs +++ b/src/DotRecast.Recast/Geom/SimpleInputGeomProvider.cs @@ -21,6 +21,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast.Geom { diff --git a/src/DotRecast.Recast/RcAreas.cs b/src/DotRecast.Recast/RcAreas.cs index e544bee..cc8ed0a 100644 --- a/src/DotRecast.Recast/RcAreas.cs +++ b/src/DotRecast.Recast/RcAreas.cs @@ -20,6 +20,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcBuilder.cs b/src/DotRecast.Recast/RcBuilder.cs index e66f831..202922c 100644 --- a/src/DotRecast.Recast/RcBuilder.cs +++ b/src/DotRecast.Recast/RcBuilder.cs @@ -23,6 +23,7 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Geom; namespace DotRecast.Recast diff --git a/src/DotRecast.Recast/RcBuilderConfig.cs b/src/DotRecast.Recast/RcBuilderConfig.cs index 98fa48e..f5bfb9e 100644 --- a/src/DotRecast.Recast/RcBuilderConfig.cs +++ b/src/DotRecast.Recast/RcBuilderConfig.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcCommons.cs b/src/DotRecast.Recast/RcCommons.cs index f91d6a1..9e5e84d 100644 --- a/src/DotRecast.Recast/RcCommons.cs +++ b/src/DotRecast.Recast/RcCommons.cs @@ -20,6 +20,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcCompactHeightfield.cs b/src/DotRecast.Recast/RcCompactHeightfield.cs index 372c8c7..9148d24 100644 --- a/src/DotRecast.Recast/RcCompactHeightfield.cs +++ b/src/DotRecast.Recast/RcCompactHeightfield.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcCompacts.cs b/src/DotRecast.Recast/RcCompacts.cs index c993184..d337d19 100644 --- a/src/DotRecast.Recast/RcCompacts.cs +++ b/src/DotRecast.Recast/RcCompacts.cs @@ -19,15 +19,14 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; - using static DotRecast.Recast.RcConstants; namespace DotRecast.Recast { using static RcCommons; - - + + public static class RcCompacts { private const int MAX_LAYERS = RC_NOT_CONNECTED - 1; @@ -84,7 +83,7 @@ namespace DotRecast.Recast // If there are no spans at this cell, just leave the data to index=0, count=0. if (s == null) continue; - + int tmpIdx = idx; int tmpCount = 0; while (s != null) diff --git a/src/DotRecast.Recast/RcContourSet.cs b/src/DotRecast.Recast/RcContourSet.cs index b360be6..ed0e6f1 100644 --- a/src/DotRecast.Recast/RcContourSet.cs +++ b/src/DotRecast.Recast/RcContourSet.cs @@ -19,7 +19,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcFilledVolumeRasterization.cs b/src/DotRecast.Recast/RcFilledVolumeRasterization.cs index 32ecdb1..9e16dc7 100644 --- a/src/DotRecast.Recast/RcFilledVolumeRasterization.cs +++ b/src/DotRecast.Recast/RcFilledVolumeRasterization.cs @@ -19,13 +19,12 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; using static DotRecast.Recast.RcConstants; namespace DotRecast.Recast { - - public static class RcFilledVolumeRasterization { private const float EPSILON = 0.00001f; diff --git a/src/DotRecast.Recast/RcHeightfield.cs b/src/DotRecast.Recast/RcHeightfield.cs index c27e3b6..dd8b5fc 100644 --- a/src/DotRecast.Recast/RcHeightfield.cs +++ b/src/DotRecast.Recast/RcHeightfield.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcHeightfieldLayer.cs b/src/DotRecast.Recast/RcHeightfieldLayer.cs index 3e35219..43b22d5 100644 --- a/src/DotRecast.Recast/RcHeightfieldLayer.cs +++ b/src/DotRecast.Recast/RcHeightfieldLayer.cs @@ -1,4 +1,4 @@ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcHeightfieldLayerSet.cs b/src/DotRecast.Recast/RcHeightfieldLayerSet.cs index 1f60102..72f4347 100644 --- a/src/DotRecast.Recast/RcHeightfieldLayerSet.cs +++ b/src/DotRecast.Recast/RcHeightfieldLayerSet.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcLayers.cs b/src/DotRecast.Recast/RcLayers.cs index 49d1183..1073794 100644 --- a/src/DotRecast.Recast/RcLayers.cs +++ b/src/DotRecast.Recast/RcLayers.cs @@ -21,6 +21,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { @@ -54,7 +55,7 @@ namespace DotRecast.Recast public static RcHeightfieldLayerSet BuildHeightfieldLayers(RcTelemetry ctx, RcCompactHeightfield chf, int walkableHeight) { using var timer = ctx.ScopedTimer(RcTimerLabel.RC_TIMER_BUILD_LAYERS); - + int w = chf.width; int h = chf.height; int borderSize = chf.borderSize; diff --git a/src/DotRecast.Recast/RcMeshDetails.cs b/src/DotRecast.Recast/RcMeshDetails.cs index 9e7e5b7..d77de8d 100644 --- a/src/DotRecast.Recast/RcMeshDetails.cs +++ b/src/DotRecast.Recast/RcMeshDetails.cs @@ -21,12 +21,12 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using static DotRecast.Recast.RcConstants; namespace DotRecast.Recast { using static RcCommons; - public static class RcMeshDetails diff --git a/src/DotRecast.Recast/RcPolyMesh.cs b/src/DotRecast.Recast/RcPolyMesh.cs index 149149c..f5bbdf6 100644 --- a/src/DotRecast.Recast/RcPolyMesh.cs +++ b/src/DotRecast.Recast/RcPolyMesh.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcPolyMeshRaycast.cs b/src/DotRecast.Recast/RcPolyMeshRaycast.cs index a863848..78af411 100644 --- a/src/DotRecast.Recast/RcPolyMeshRaycast.cs +++ b/src/DotRecast.Recast/RcPolyMeshRaycast.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; namespace DotRecast.Recast { diff --git a/src/DotRecast.Recast/RcRasterizations.cs b/src/DotRecast.Recast/RcRasterizations.cs index a04ca99..c175b85 100644 --- a/src/DotRecast.Recast/RcRasterizations.cs +++ b/src/DotRecast.Recast/RcRasterizations.cs @@ -20,6 +20,7 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; +using DotRecast.Core.Numerics; using static DotRecast.Recast.RcConstants; namespace DotRecast.Recast diff --git a/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs b/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs index fcf18b4..44cbb7b 100644 --- a/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs +++ b/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; diff --git a/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs b/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs index f2d839a..9658c02 100644 --- a/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs +++ b/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using Moq; using NUnit.Framework; diff --git a/test/DotRecast.Detour.Crowd.Test/RecastTestMeshBuilder.cs b/test/DotRecast.Detour.Crowd.Test/RecastTestMeshBuilder.cs index 22d8d74..9a68823 100644 --- a/test/DotRecast.Detour.Crowd.Test/RecastTestMeshBuilder.cs +++ b/test/DotRecast.Detour.Crowd.Test/RecastTestMeshBuilder.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; using DotRecast.Recast.Geom; diff --git a/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs b/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs index 67a5294..a889a83 100644 --- a/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Dynamic.Colliders; using DotRecast.Detour.Dynamic.Io; using DotRecast.Detour.Dynamic.Test.Io; diff --git a/test/DotRecast.Detour.Dynamic.Test/Io/DtVoxelTileLZ4ForTestCompressor.cs b/test/DotRecast.Detour.Dynamic.Test/Io/DtVoxelTileLZ4ForTestCompressor.cs index 62c7960..26dbede 100644 --- a/test/DotRecast.Detour.Dynamic.Test/Io/DtVoxelTileLZ4ForTestCompressor.cs +++ b/test/DotRecast.Detour.Dynamic.Test/Io/DtVoxelTileLZ4ForTestCompressor.cs @@ -19,7 +19,6 @@ freely, subject to the following restrictions: using System; using DotRecast.Core; -using DotRecast.Detour.Dynamic.Io; using K4os.Compression.LZ4; namespace DotRecast.Detour.Dynamic.Test.Io diff --git a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs index a38e160..5e81f8f 100644 --- a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Dynamic.Io; using NUnit.Framework; @@ -79,4 +80,4 @@ public class VoxelFileReaderTest Assert.That(f.tiles[0].boundsMin, Is.EqualTo(new RcVec3f(-101.25f, 0f, -101.25f))); Assert.That(f.tiles[0].boundsMax, Is.EqualTo(new RcVec3f(-78.75f, 5.0f, -78.75f))); } -} +} \ No newline at end of file diff --git a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs index a34b231..54a0640 100644 --- a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Dynamic.Io; using NUnit.Framework; diff --git a/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs b/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs index ad66830..577a754 100644 --- a/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs @@ -22,6 +22,7 @@ using System.IO; using System.Threading.Tasks; using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Dynamic.Io; using DotRecast.Detour.Dynamic.Test.Io; using DotRecast.Recast; diff --git a/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs b/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs index 137cb71..28596fa 100644 --- a/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs +++ b/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs @@ -16,13 +16,12 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using System.Collections.Generic; using System.IO; -using System.Linq; +using System.Collections.Generic; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Extras.Unity.Astar; using DotRecast.Detour.Io; - using NUnit.Framework; namespace DotRecast.Detour.Extras.Test.Unity.Astar; diff --git a/test/DotRecast.Detour.Test/AbstractDetourTest.cs b/test/DotRecast.Detour.Test/AbstractDetourTest.cs index a448712..259010a 100644 --- a/test/DotRecast.Detour.Test/AbstractDetourTest.cs +++ b/test/DotRecast.Detour.Test/AbstractDetourTest.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; namespace DotRecast.Detour.Test; diff --git a/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs b/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs index fc1088a..081fff9 100644 --- a/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs +++ b/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; diff --git a/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs b/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs index 4af574d..e637e17 100644 --- a/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs +++ b/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; namespace DotRecast.Detour.Test; diff --git a/test/DotRecast.Detour.Test/FindNearestPolyTest.cs b/test/DotRecast.Detour.Test/FindNearestPolyTest.cs index cb1778a..88a33d4 100644 --- a/test/DotRecast.Detour.Test/FindNearestPolyTest.cs +++ b/test/DotRecast.Detour.Test/FindNearestPolyTest.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; diff --git a/test/DotRecast.Detour.Test/FindPathTest.cs b/test/DotRecast.Detour.Test/FindPathTest.cs index d8b94f7..cc2fe06 100644 --- a/test/DotRecast.Detour.Test/FindPathTest.cs +++ b/test/DotRecast.Detour.Test/FindPathTest.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; diff --git a/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs b/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs index db06c1c..40fd7a0 100644 --- a/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs +++ b/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; namespace DotRecast.Detour.Test; diff --git a/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs b/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs index deb4bfd..fedc1de 100644 --- a/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs +++ b/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; namespace DotRecast.Detour.Test; diff --git a/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs b/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs index c739205..ed1aee5 100644 --- a/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs +++ b/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs @@ -19,6 +19,7 @@ freely, subject to the following restrictions: using System.Collections.Generic; using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.Io; using DotRecast.Recast; using DotRecast.Recast.Geom; diff --git a/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs b/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs index 1b05e07..8bdc9c2 100644 --- a/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs +++ b/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; diff --git a/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs b/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs index 475075d..6e32f07 100644 --- a/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs +++ b/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; namespace DotRecast.Detour.Test; diff --git a/test/DotRecast.Detour.Test/RandomPointTest.cs b/test/DotRecast.Detour.Test/RandomPointTest.cs index a1825dd..2db417e 100644 --- a/test/DotRecast.Detour.Test/RandomPointTest.cs +++ b/test/DotRecast.Detour.Test/RandomPointTest.cs @@ -17,8 +17,8 @@ freely, subject to the following restrictions: */ using System; -using System.Diagnostics; using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; diff --git a/test/DotRecast.Detour.Test/RecastTestMeshBuilder.cs b/test/DotRecast.Detour.Test/RecastTestMeshBuilder.cs index eabe133..4d755a0 100644 --- a/test/DotRecast.Detour.Test/RecastTestMeshBuilder.cs +++ b/test/DotRecast.Detour.Test/RecastTestMeshBuilder.cs @@ -16,7 +16,7 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; using DotRecast.Recast.Geom; diff --git a/test/DotRecast.Detour.Test/TestTiledNavMeshBuilder.cs b/test/DotRecast.Detour.Test/TestTiledNavMeshBuilder.cs index 523fca2..6baef44 100644 --- a/test/DotRecast.Detour.Test/TestTiledNavMeshBuilder.cs +++ b/test/DotRecast.Detour.Test/TestTiledNavMeshBuilder.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast; using DotRecast.Recast.Geom; diff --git a/test/DotRecast.Detour.Test/TiledFindPathTest.cs b/test/DotRecast.Detour.Test/TiledFindPathTest.cs index f140294..b58f8b0 100644 --- a/test/DotRecast.Detour.Test/TiledFindPathTest.cs +++ b/test/DotRecast.Detour.Test/TiledFindPathTest.cs @@ -17,7 +17,7 @@ freely, subject to the following restrictions: */ using System.Collections.Generic; -using DotRecast.Core; +using DotRecast.Core.Numerics; using NUnit.Framework; diff --git a/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs b/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs index eff8045..2477d09 100644 --- a/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs @@ -20,20 +20,18 @@ freely, subject to the following restrictions: using DotRecast.Core; using DotRecast.Detour.TileCache.Io.Compress; -using DotRecast.Detour.TileCache.Test.Io; using DotRecast.Recast; using DotRecast.Recast.Geom; using NUnit.Framework; - namespace DotRecast.Detour.TileCache.Test; [Parallelizable] public class AbstractTileCacheTest { private const int EXPECTED_LAYERS_PER_TILE = 4; - + private readonly float m_cellSize = 0.3f; private readonly float m_cellHeight = 0.2f; private readonly float m_agentHeight = 2.0f; diff --git a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs index bbaf0a6..75b2897 100644 --- a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs @@ -223,4 +223,4 @@ public class TileCacheReaderTest Assert.That(data.verts[6], Is.EqualTo(48.484783f).Within(0.0001f)); Assert.That(data.verts[9], Is.EqualTo(48.484783f).Within(0.0001f)); } -} +} \ No newline at end of file diff --git a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs index c62767b..ceef78d 100644 --- a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs @@ -23,7 +23,6 @@ using System.IO; using DotRecast.Core; using DotRecast.Detour.TileCache.Io; using DotRecast.Detour.TileCache.Io.Compress; -using DotRecast.Recast; using DotRecast.Recast.Geom; using NUnit.Framework; diff --git a/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs b/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs index b34bd50..f8b8502 100644 --- a/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs @@ -20,8 +20,7 @@ freely, subject to the following restrictions: using System.Collections.Generic; using DotRecast.Core; -using DotRecast.Detour.TileCache.Test.Io; -using DotRecast.Recast; +using DotRecast.Core.Numerics; using DotRecast.Recast.Geom; using NUnit.Framework; diff --git a/test/DotRecast.Detour.TileCache.Test/TestTileLayerBuilder.cs b/test/DotRecast.Detour.TileCache.Test/TestTileLayerBuilder.cs index 282eaa3..3864ac2 100644 --- a/test/DotRecast.Detour.TileCache.Test/TestTileLayerBuilder.cs +++ b/test/DotRecast.Detour.TileCache.Test/TestTileLayerBuilder.cs @@ -21,8 +21,8 @@ freely, subject to the following restrictions: using System.Collections.Generic; using System.Linq; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.TileCache.Io.Compress; -using DotRecast.Detour.TileCache.Test.Io; using DotRecast.Recast; using DotRecast.Recast.Geom; diff --git a/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs b/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs index 3daf03c..68931d2 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs @@ -21,6 +21,7 @@ freely, subject to the following restrictions: using System.Collections.Generic; using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Detour.TileCache.Io; using DotRecast.Detour.TileCache.Io.Compress; using DotRecast.Detour.TileCache.Test.Io; diff --git a/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs b/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs index adf90a5..5beef2e 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs @@ -20,7 +20,7 @@ freely, subject to the following restrictions: using System.Collections.Generic; using DotRecast.Core; -using DotRecast.Recast; +using DotRecast.Core.Numerics; using DotRecast.Recast.Geom; using NUnit.Framework; diff --git a/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs b/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs index e95031e..ba8e46e 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs @@ -20,9 +20,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using System.Diagnostics; using DotRecast.Core; -using DotRecast.Recast; using DotRecast.Recast.Geom; using NUnit.Framework; diff --git a/test/DotRecast.Recast.Test/RecastLayersTest.cs b/test/DotRecast.Recast.Test/RecastLayersTest.cs index 84f324b..b45b7dd 100644 --- a/test/DotRecast.Recast.Test/RecastLayersTest.cs +++ b/test/DotRecast.Recast.Test/RecastLayersTest.cs @@ -18,7 +18,7 @@ freely, subject to the following restrictions: using System; using System.IO; -using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Geom; using NUnit.Framework; diff --git a/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs b/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs index 7d2db2c..000ce51 100644 --- a/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs +++ b/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs @@ -17,9 +17,9 @@ freely, subject to the following restrictions: */ using System; -using System.Diagnostics; using System.IO; using DotRecast.Core; +using DotRecast.Core.Numerics; using DotRecast.Recast.Geom; using NUnit.Framework; diff --git a/test/DotRecast.Recast.Test/RecastTest.cs b/test/DotRecast.Recast.Test/RecastTest.cs index bddd08d..3aa4d63 100644 --- a/test/DotRecast.Recast.Test/RecastTest.cs +++ b/test/DotRecast.Recast.Test/RecastTest.cs @@ -16,8 +16,8 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ -using DotRecast.Core; using NUnit.Framework; +using DotRecast.Core; namespace DotRecast.Recast.Test; diff --git a/test/DotRecast.Recast.Test/RecastTileMeshTest.cs b/test/DotRecast.Recast.Test/RecastTileMeshTest.cs index 10baf9c..635f67e 100644 --- a/test/DotRecast.Recast.Test/RecastTileMeshTest.cs +++ b/test/DotRecast.Recast.Test/RecastTileMeshTest.cs @@ -18,8 +18,6 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; -using System.Diagnostics; -using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks;