|
@ -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++) { |
|
|