adjust some protection levels

generics
Evan Hemsley 2019-09-15 10:38:21 -07:00
parent de76559181
commit e2b46fa1cc
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
namespace MoonTools.Core.Bonk
{
public struct Edge
internal struct Edge
{
public float distance;
public Vector2 normal;

View File

@ -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));
}