Browse Source

mark field readonly

GitOrigin-RevId: 9e06f8a03a
master
Colin McMillen 4 years ago
parent
commit
0e164f7b75
  1. 2
      Shared/Geometry.cs

2
Shared/Geometry.cs

@ -19,7 +19,7 @@ namespace SemiColinGames {
public static class FMath {
public const float PI = (float) Math.PI;
private static float[] degToRad = new float[360];
private readonly static float[] degToRad = new float[360];
static FMath() {
for (int i = 0; i < degToRad.Length; i++) {

Loading…
Cancel
Save