diff --git a/Bonk/Edge.cs b/Bonk/Edge.cs index 8ac02b9..65ccf4e 100644 --- a/Bonk/Edge.cs +++ b/Bonk/Edge.cs @@ -2,7 +2,7 @@ namespace MoonTools.Core.Bonk { - public struct Edge + internal struct Edge { public float distance; public Vector2 normal; diff --git a/Bonk/SpatialHash.cs b/Bonk/SpatialHash.cs index a06b1bc..9dafeb8 100644 --- a/Bonk/SpatialHash.cs +++ b/Bonk/SpatialHash.cs @@ -16,7 +16,7 @@ namespace MoonTools.Core.Bonk this.cellSize = cellSize; } - public (int, int) Hash(int x, int y) + private (int, int) Hash(int x, int y) { return ((int)Math.Floor((float)x / cellSize), (int)Math.Floor((float)y / cellSize)); }