|
@@ -3050,6 +3050,12 @@ Object.assign( Quaternion.prototype, {
|
|
|
|
|
|
},
|
|
|
|
|
|
+ identity: function () {
|
|
|
+
|
|
|
+ return this.set( 0, 0, 0, 1 );
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
inverse: function () {
|
|
|
|
|
|
// quaternion is assumed to have unit length
|
|
@@ -6122,6 +6128,7 @@ Object3D.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
|
|
|
this.up.copy( source.up );
|
|
|
|
|
|
this.position.copy( source.position );
|
|
|
+ this.rotation.order = source.rotation.order;
|
|
|
this.quaternion.copy( source.quaternion );
|
|
|
this.scale.copy( source.scale );
|
|
|
|
|
@@ -14039,6 +14046,10 @@ WebGLCubeRenderTarget.prototype.fromEquirectangularTexture = function ( renderer
|
|
|
this.texture.format = texture.format;
|
|
|
this.texture.encoding = texture.encoding;
|
|
|
|
|
|
+ this.texture.generateMipmaps = texture.generateMipmaps;
|
|
|
+ this.texture.minFilter = texture.minFilter;
|
|
|
+ this.texture.magFilter = texture.magFilter;
|
|
|
+
|
|
|
const scene = new Scene();
|
|
|
|
|
|
const shader = {
|