Browse Source

Updated builds.

Mugen87 5 năm trước cách đây
mục cha
commit
d0358c359b
3 tập tin đã thay đổi với 236 bổ sung302 xóa
  1. 0 33
      build/three.js
  2. 236 236
      build/three.min.js
  3. 0 33
      build/three.module.js

+ 0 - 33
build/three.js

@@ -28167,16 +28167,6 @@
 	ParametricGeometry.prototype = Object.create( Geometry.prototype );
 	ParametricGeometry.prototype = Object.create( Geometry.prototype );
 	ParametricGeometry.prototype.constructor = ParametricGeometry;
 	ParametricGeometry.prototype.constructor = ParametricGeometry;
 
 
-	ParametricGeometry.prototype.toJSON = function () {
-
-		var data = Geometry.prototype.toJSON.call( this );
-
-		data.func = this.parameters.func.toString();
-
-		return data;
-
-	};
-
 	// ParametricBufferGeometry
 	// ParametricBufferGeometry
 
 
 	function ParametricBufferGeometry( func, slices, stacks ) {
 	function ParametricBufferGeometry( func, slices, stacks ) {
@@ -28303,16 +28293,6 @@
 	ParametricBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 	ParametricBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 	ParametricBufferGeometry.prototype.constructor = ParametricBufferGeometry;
 	ParametricBufferGeometry.prototype.constructor = ParametricBufferGeometry;
 
 
-	ParametricBufferGeometry.prototype.toJSON = function () {
-
-		var data = BufferGeometry.prototype.toJSON.call( this );
-
-		data.func = this.parameters.func.toString();
-
-		return data;
-
-	};
-
 	/**
 	/**
 	 * @author clockworkgeek / https://github.com/clockworkgeek
 	 * @author clockworkgeek / https://github.com/clockworkgeek
 	 * @author timothypratley / https://github.com/timothypratley
 	 * @author timothypratley / https://github.com/timothypratley
@@ -39892,19 +39872,6 @@
 
 
 							break;
 							break;
 
 
-						case 'ParametricGeometry':
-						case 'ParametricBufferGeometry':
-
-							var func = new Function( 'return ' + data.func )();
-
-							geometry = new Geometries[ data.type ](
-								func,
-								data.slices,
-								data.stacks
-							);
-
-							break;
-
 						case 'BufferGeometry':
 						case 'BufferGeometry':
 						case 'InstancedBufferGeometry':
 						case 'InstancedBufferGeometry':
 
 

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 236 - 236
build/three.min.js


+ 0 - 33
build/three.module.js

@@ -28159,16 +28159,6 @@ function ParametricGeometry( func, slices, stacks ) {
 ParametricGeometry.prototype = Object.create( Geometry.prototype );
 ParametricGeometry.prototype = Object.create( Geometry.prototype );
 ParametricGeometry.prototype.constructor = ParametricGeometry;
 ParametricGeometry.prototype.constructor = ParametricGeometry;
 
 
-ParametricGeometry.prototype.toJSON = function () {
-
-	var data = Geometry.prototype.toJSON.call( this );
-
-	data.func = this.parameters.func.toString();
-
-	return data;
-
-};
-
 // ParametricBufferGeometry
 // ParametricBufferGeometry
 
 
 function ParametricBufferGeometry( func, slices, stacks ) {
 function ParametricBufferGeometry( func, slices, stacks ) {
@@ -28295,16 +28285,6 @@ function ParametricBufferGeometry( func, slices, stacks ) {
 ParametricBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 ParametricBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 ParametricBufferGeometry.prototype.constructor = ParametricBufferGeometry;
 ParametricBufferGeometry.prototype.constructor = ParametricBufferGeometry;
 
 
-ParametricBufferGeometry.prototype.toJSON = function () {
-
-	var data = BufferGeometry.prototype.toJSON.call( this );
-
-	data.func = this.parameters.func.toString();
-
-	return data;
-
-};
-
 /**
 /**
  * @author clockworkgeek / https://github.com/clockworkgeek
  * @author clockworkgeek / https://github.com/clockworkgeek
  * @author timothypratley / https://github.com/timothypratley
  * @author timothypratley / https://github.com/timothypratley
@@ -39884,19 +39864,6 @@ ObjectLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
 
 
 						break;
 						break;
 
 
-					case 'ParametricGeometry':
-					case 'ParametricBufferGeometry':
-
-						var func = new Function( 'return ' + data.func )();
-
-						geometry = new Geometries[ data.type ](
-							func,
-							data.slices,
-							data.stacks
-						);
-
-						break;
-
 					case 'BufferGeometry':
 					case 'BufferGeometry':
 					case 'InstancedBufferGeometry':
 					case 'InstancedBufferGeometry':
 
 

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác