浏览代码

Fix Math.Random typo

Loïc Baumann 8 年之前
父节点
当前提交
ed7528c602
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {