mark field readonly
GitOrigin-RevId: 9e06f8a03a69c18da9e4828263eed65b13776904
This commit is contained in:
parent
0ee671c8b1
commit
0e164f7b75
@ -19,7 +19,7 @@ namespace SemiColinGames {
|
|||||||
public static class FMath {
|
public static class FMath {
|
||||||
public const float PI = (float) Math.PI;
|
public const float PI = (float) Math.PI;
|
||||||
|
|
||||||
private static float[] degToRad = new float[360];
|
private readonly static float[] degToRad = new float[360];
|
||||||
|
|
||||||
static FMath() {
|
static FMath() {
|
||||||
for (int i = 0; i < degToRad.Length; i++) {
|
for (int i = 0; i < degToRad.Length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user