Răsfoiți Sursa

Updated builds.

Mr.doob 7 ani în urmă
părinte
comite
f4334ef629
3 a modificat fișierele cu 95 adăugiri și 383 ștergeri
  1. 3 17
      build/three.js
  2. 90 350
      build/three.min.js
  3. 2 16
      build/three.module.js

+ 3 - 17
build/three.js

@@ -1,7 +1,7 @@
 (function (global, factory) {
 (function (global, factory) {
 	typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
 	typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
 	typeof define === 'function' && define.amd ? define(['exports'], factory) :
 	typeof define === 'function' && define.amd ? define(['exports'], factory) :
-	(factory((global.THREE = global.THREE || {})));
+	(factory((global.THREE = {})));
 }(this, (function (exports) { 'use strict';
 }(this, (function (exports) { 'use strict';
 
 
 	// Polyfills
 	// Polyfills
@@ -65,8 +65,6 @@
 
 
 			Object.assign = function ( target ) {
 			Object.assign = function ( target ) {
 
 
-				'use strict';
-
 				if ( target === undefined || target === null ) {
 				if ( target === undefined || target === null ) {
 
 
 					throw new TypeError( 'Cannot convert undefined or null to object' );
 					throw new TypeError( 'Cannot convert undefined or null to object' );
@@ -36780,13 +36778,7 @@
 									cpx0 = laste.x;
 									cpx0 = laste.x;
 									cpy0 = laste.y;
 									cpy0 = laste.y;
 
 
-									for ( var i2 = 1; i2 <= divisions; i2 ++ ) {
-
-										var t = i2 / divisions;
-										QuadraticBezier( t, cpx0, cpx1, cpx );
-										QuadraticBezier( t, cpy0, cpy1, cpy );
-
-									}
+									
 
 
 								}
 								}
 
 
@@ -36810,13 +36802,7 @@
 									cpx0 = laste.x;
 									cpx0 = laste.x;
 									cpy0 = laste.y;
 									cpy0 = laste.y;
 
 
-									for ( var i2 = 1; i2 <= divisions; i2 ++ ) {
-
-										var t = i2 / divisions;
-										CubicBezier( t, cpx0, cpx1, cpx2, cpx );
-										CubicBezier( t, cpy0, cpy1, cpy2, cpy );
-
-									}
+									
 
 
 								}
 								}
 
 

Fișier diff suprimat deoarece este prea mare
+ 90 - 350
build/three.min.js


+ 2 - 16
build/three.module.js

@@ -59,8 +59,6 @@ if ( Object.assign === undefined ) {
 
 
 		Object.assign = function ( target ) {
 		Object.assign = function ( target ) {
 
 
-			'use strict';
-
 			if ( target === undefined || target === null ) {
 			if ( target === undefined || target === null ) {
 
 
 				throw new TypeError( 'Cannot convert undefined or null to object' );
 				throw new TypeError( 'Cannot convert undefined or null to object' );
@@ -36774,13 +36772,7 @@ Object.assign( Font.prototype, {
 								cpx0 = laste.x;
 								cpx0 = laste.x;
 								cpy0 = laste.y;
 								cpy0 = laste.y;
 
 
-								for ( var i2 = 1; i2 <= divisions; i2 ++ ) {
-
-									var t = i2 / divisions;
-									QuadraticBezier( t, cpx0, cpx1, cpx );
-									QuadraticBezier( t, cpy0, cpy1, cpy );
-
-								}
+								
 
 
 							}
 							}
 
 
@@ -36804,13 +36796,7 @@ Object.assign( Font.prototype, {
 								cpx0 = laste.x;
 								cpx0 = laste.x;
 								cpy0 = laste.y;
 								cpy0 = laste.y;
 
 
-								for ( var i2 = 1; i2 <= divisions; i2 ++ ) {
-
-									var t = i2 / divisions;
-									CubicBezier( t, cpx0, cpx1, cpx2, cpx );
-									CubicBezier( t, cpy0, cpy1, cpy2, cpy );
-
-								}
+								
 
 
 							}
 							}
 
 

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff