@@ -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;
@@ -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