David Catuhe 8 năm trước cách đây
mục cha
commit
18757b8275

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 6261 - 6261
dist/preview release/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/preview release/babylon.js


+ 1 - 1
dist/preview release/babylon.max.js

@@ -374,7 +374,7 @@ var __extends = (this && this.__extends) || (function () {
             if (r === void 0) { r = 0; }
             if (g === void 0) { g = 0; }
             if (b === void 0) { b = 0; }
-            if (a === void 0) { a = 0; }
+            if (a === void 0) { a = 1; }
             this.r = r;
             this.g = g;
             this.b = b;

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 6261 - 6261
dist/preview release/babylon.module.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 2
dist/preview release/babylon.worker.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 5215 - 5215
dist/preview release/customConfigurations/minimalViewer/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/preview release/customConfigurations/minimalViewer/babylon.js


+ 1 - 1
dist/preview release/customConfigurations/minimalViewer/babylon.max.js

@@ -374,7 +374,7 @@ var __extends = (this && this.__extends) || (function () {
             if (r === void 0) { r = 0; }
             if (g === void 0) { g = 0; }
             if (b === void 0) { b = 0; }
-            if (a === void 0) { a = 0; }
+            if (a === void 0) { a = 1; }
             this.r = r;
             this.g = g;
             this.b = b;

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 5215 - 5215
dist/preview release/customConfigurations/minimalViewer/babylon.module.d.ts


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

@@ -384,7 +384,7 @@
         /**
          * Creates a new Color4 object from the passed float values ( < 1) : red, green, blue, alpha.  
          */
-        constructor(public r: number = 0, public g: number = 0, public b: number = 0, public a: number = 0) {
+        constructor(public r: number = 0, public g: number = 0, public b: number = 0, public a: number = 1) {
         }
 
         // Operators