From 03b9a987dd6a2397111ee3e146426befff516b5d Mon Sep 17 00:00:00 2001 From: ikpil Date: Thu, 8 Jun 2023 21:39:12 +0900 Subject: [PATCH] static class --- src/DotRecast.Recast/RecastArea.cs | 2 +- src/DotRecast.Recast/RecastMeshDetail.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DotRecast.Recast/RecastArea.cs b/src/DotRecast.Recast/RecastArea.cs index a64663f..8a1235c 100644 --- a/src/DotRecast.Recast/RecastArea.cs +++ b/src/DotRecast.Recast/RecastArea.cs @@ -283,7 +283,7 @@ namespace DotRecast.Recast /// The value of spacial parameters are in world units. /// /// @see rcCompactHeightfield, rcMedianFilterWalkableArea - public void MarkBoxArea(Telemetry ctx, float[] bmin, float[] bmax, AreaModification areaMod, RcCompactHeightfield chf) + public static void MarkBoxArea(Telemetry ctx, float[] bmin, float[] bmax, AreaModification areaMod, RcCompactHeightfield chf) { ctx.StartTimer("MARK_BOX_AREA"); diff --git a/src/DotRecast.Recast/RecastMeshDetail.cs b/src/DotRecast.Recast/RecastMeshDetail.cs index 774ae51..6f53415 100644 --- a/src/DotRecast.Recast/RecastMeshDetail.cs +++ b/src/DotRecast.Recast/RecastMeshDetail.cs @@ -1615,7 +1615,7 @@ namespace DotRecast.Recast } /// @see rcAllocPolyMeshDetail, rcPolyMeshDetail - RcPolyMeshDetail MergePolyMeshDetails(Telemetry ctx, RcPolyMeshDetail[] meshes, int nmeshes) + private static RcPolyMeshDetail MergePolyMeshDetails(Telemetry ctx, RcPolyMeshDetail[] meshes, int nmeshes) { RcPolyMeshDetail mesh = new RcPolyMeshDetail();