|
@@ -1746,6 +1746,12 @@ class Color {
|
|
return this.getHex();
|
|
return this.getHex();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ *[Symbol.iterator]() {
|
|
|
|
+ yield this.r;
|
|
|
|
+ yield this.g;
|
|
|
|
+ yield this.b;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
Color.NAMES = _colorKeywords;
|
|
Color.NAMES = _colorKeywords;
|
|
@@ -2800,11 +2806,12 @@ class WebGLMultipleRenderTargets extends WebGLRenderTarget {
|
|
this.scissor.set(0, 0, this.width, this.height);
|
|
this.scissor.set(0, 0, this.width, this.height);
|
|
this.depthBuffer = source.depthBuffer;
|
|
this.depthBuffer = source.depthBuffer;
|
|
this.stencilBuffer = source.stencilBuffer;
|
|
this.stencilBuffer = source.stencilBuffer;
|
|
- this.depthTexture = source.depthTexture;
|
|
|
|
|
|
+ if (source.depthTexture !== null) this.depthTexture = source.depthTexture.clone();
|
|
this.texture.length = 0;
|
|
this.texture.length = 0;
|
|
|
|
|
|
for (let i = 0, il = source.texture.length; i < il; i++) {
|
|
for (let i = 0, il = source.texture.length; i < il; i++) {
|
|
this.texture[i] = source.texture[i].clone();
|
|
this.texture[i] = source.texture[i].clone();
|
|
|
|
+ this.texture[i].isRenderTargetTexture = true;
|
|
}
|
|
}
|
|
|
|
|
|
return this;
|
|
return this;
|
|
@@ -3341,6 +3348,13 @@ class Quaternion {
|
|
|
|
|
|
_onChangeCallback() {}
|
|
_onChangeCallback() {}
|
|
|
|
|
|
|
|
+ *[Symbol.iterator]() {
|
|
|
|
+ yield this._x;
|
|
|
|
+ yield this._y;
|
|
|
|
+ yield this._z;
|
|
|
|
+ yield this._w;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
Quaternion.prototype.isQuaternion = true;
|
|
Quaternion.prototype.isQuaternion = true;
|
|
@@ -5782,6 +5796,13 @@ class Euler {
|
|
|
|
|
|
_onChangeCallback() {}
|
|
_onChangeCallback() {}
|
|
|
|
|
|
|
|
+ *[Symbol.iterator]() {
|
|
|
|
+ yield this._x;
|
|
|
|
+ yield this._y;
|
|
|
|
+ yield this._z;
|
|
|
|
+ yield this._order;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
Euler.prototype.isEuler = true;
|
|
Euler.prototype.isEuler = true;
|