From 0e164f7b75265a999c7ad2640ef276b4f16ce49e Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Thu, 20 Feb 2020 16:36:42 -0500 Subject: [PATCH] mark field readonly GitOrigin-RevId: 9e06f8a03a69c18da9e4828263eed65b13776904 --- Shared/Geometry.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Geometry.cs b/Shared/Geometry.cs index 58e1eff..deb144a 100644 --- a/Shared/Geometry.cs +++ b/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++) {