Explorar o código

Color3.Random fixed

Palmer-JC %!s(int64=8) %!d(string=hai) anos
pai
achega
b929d01b0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Math/babylon.math.ts

+ 1 - 1
src/Math/babylon.math.ts

@@ -239,7 +239,7 @@
         public static Magenta(): Color3 { return new Color3(1, 0, 1); }
         public static Yellow(): Color3 { return new Color3(1, 1, 0); }
         public static Gray(): Color3 { return new Color3(0.5, 0.5, 0.5); }
-        public static Random(): Color3 { return new Color3(Math.Random(), Math.Random(), Math.Random()); }
+        public static Random(): Color3 { return new Color3(Math.random(), Math.random(), Math.random()); }
     }
 
     export class Color4 {