Skip to content

Commit

Permalink
feat: change namespace RcVec2f, RcVec3f, RcMatrix4x4f for dotent 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Oct 16, 2023
1 parent 628c4ef commit cfcdf86
Show file tree
Hide file tree
Showing 183 changed files with 189 additions and 160 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Runtime.CompilerServices;

namespace DotRecast.Core
namespace DotRecast.Core.Numerics
{
public struct RcMatrix4x4f
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Runtime.CompilerServices;

namespace DotRecast.Core
namespace DotRecast.Core.Numerics
{
public struct RcVec2f
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using System;
using System.Runtime.CompilerServices;

namespace DotRecast.Core
namespace DotRecast.Core.Numerics
{
public struct RcVec3f
{
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Core/RcConvexUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

using System.Collections.Generic;
using DotRecast.Core.Numerics;

namespace DotRecast.Core
{
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Core/RcIntersections.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

using System;
using DotRecast.Core.Numerics;

namespace DotRecast.Core
{
Expand Down
1 change: 0 additions & 1 deletion src/DotRecast.Core/RcMath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
3. This notice may not be removed or altered from any source distribution.
*/

using System;
using System.Runtime.CompilerServices;

namespace DotRecast.Core
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Core/RcObjImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using System;
using System.Globalization;
using System.IO;
using DotRecast.Core.Numerics;

namespace DotRecast.Core
{
Expand Down
4 changes: 3 additions & 1 deletion src/DotRecast.Core/RcSegmentVert.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace DotRecast.Core
using DotRecast.Core.Numerics;

namespace DotRecast.Core
{
public struct RcSegmentVert
{
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Crowd/DtCrowd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using System;
using System.Collections.Generic;
using DotRecast.Core;
using DotRecast.Core.Numerics;


namespace DotRecast.Detour.Crowd
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtCrowdAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

using System;
using System.Collections.Generic;
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtCrowdAgentAnimation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
3. This notice may not be removed or altered from any source distribution.
*/

using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtCrowdAgentDebugInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
3. This notice may not be removed or altered from any source distribution.
*/

using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Crowd/DtCrowdTelemetry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
using System.Linq;
using System.Reflection.Emit;
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtLocalBoundary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
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
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtObstacleAvoidanceDebugData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/

using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Crowd/DtObstacleAvoidanceQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;


namespace DotRecast.Detour.Crowd
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtObstacleCircle.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtObstacleSegment.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
3 changes: 1 addition & 2 deletions src/DotRecast.Detour.Crowd/DtPathCorridor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@
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.
*
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtPathQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
3. This notice may not be removed or altered from any source distribution.
*/

using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtPathQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/

using System.Collections.Generic;
using DotRecast.Core;
using DotRecast.Core.Numerics;


namespace DotRecast.Detour.Crowd
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Crowd/DtSegment.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Crowd
{
Expand Down
3 changes: 2 additions & 1 deletion src/DotRecast.Detour.Dynamic/Colliders/DtBoxCollider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Dynamic.Colliders
Expand Down Expand Up @@ -92,4 +93,4 @@ public static RcVec3f[] GetHalfEdges(RcVec3f up, RcVec3f forward, RcVec3f extent
return halfEdges;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Dynamic.Colliders
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ public void Rasterize(RcHeightfield hf, RcTelemetry telemetry)
c.Rasterize(hf, telemetry);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Dynamic.Colliders
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Dynamic/Colliders/DtSphereCollider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Dynamic.Colliders
Expand Down
1 change: 0 additions & 1 deletion src/DotRecast.Detour.Dynamic/DtDynamicTile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;

using System.Linq;
using DotRecast.Core;
using DotRecast.Detour.Dynamic.Colliders;
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Dynamic/DtVoxelQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Dynamic
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Dynamic/Io/DtVoxelFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using System;
using System.Collections.Generic;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Dynamic.Io
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Dynamic/Io/DtVoxelFileReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

using System.IO;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Detour.Io;

namespace DotRecast.Detour.Dynamic.Io
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Dynamic/Io/DtVoxelFileWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

using System.IO;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Detour.Io;

namespace DotRecast.Detour.Dynamic.Io
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Dynamic/Io/DtVoxelTile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Dynamic.Io
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/BVTreeBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;


namespace DotRecast.Detour.Extras
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Extras.Jumplink
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/ClimbTrajectory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Extras.Jumplink
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/EdgeExtractor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Collections.Generic;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;
using static DotRecast.Recast.RcConstants;

Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/EdgeSampler.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Collections.Generic;
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Extras.Jumplink
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/EdgeSamplerFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Extras.Jumplink
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/GroundSample.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Extras.Jumplink
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/GroundSegment.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Extras.Jumplink
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/JumpEdge.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Extras.Jumplink
{
Expand Down
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Extras/Jumplink/JumpLinkBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;

namespace DotRecast.Detour.Extras.Jumplink
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/JumpTrajectory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Extras.Jumplink
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;

using DotRecast.Recast;

Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/Trajectory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;

namespace DotRecast.Detour.Extras.Jumplink
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Detour.Extras/Jumplink/TrajectorySampler.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using DotRecast.Core;
using DotRecast.Core.Numerics;
using DotRecast.Recast;


Expand Down

0 comments on commit cfcdf86

Please sign in to comment.