Mr.doob 5 роки тому
батько
коміт
8702272905
3 змінених файлів з 88 додано та 64 видалено
  1. 11 0
      build/three.js
  2. 66 64
      build/three.min.js
  3. 11 0
      build/three.module.js

+ 11 - 0
build/three.js

@@ -3069,6 +3069,12 @@
 
 		},
 
+		identity: function () {
+
+			return this.set( 0, 0, 0, 1 );
+
+		},
+
 		inverse: function () {
 
 			// quaternion is assumed to have unit length
@@ -6150,6 +6156,7 @@
 			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 );
 
@@ -14082,6 +14089,10 @@
 		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;
+
 		var scene = new Scene();
 
 		var shader = {

Різницю між файлами не показано, бо вона завелика
+ 66 - 64
build/three.min.js


+ 11 - 0
build/three.module.js

@@ -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 = {

Деякі файли не було показано, через те що забагато файлів було змінено