Explorar o código

Updated builds.

Mr.doob %!s(int64=4) %!d(string=hai) anos
pai
achega
ab95c91d64
Modificáronse 3 ficheiros con 14 adicións e 16 borrados
  1. 7 7
      build/three.js
  2. 0 0
      build/three.min.js
  3. 7 9
      build/three.module.js

+ 7 - 7
build/three.js

@@ -16508,15 +16508,15 @@
 		};
 		};
 	}
 	}
 
 
-	function ArrayCamera(array = []) {
-		PerspectiveCamera.call(this);
-		this.cameras = array;
+	class ArrayCamera extends PerspectiveCamera {
+		constructor(array = []) {
+			super();
+			this.cameras = array;
+		}
+
 	}
 	}
 
 
-	ArrayCamera.prototype = Object.assign(Object.create(PerspectiveCamera.prototype), {
-		constructor: ArrayCamera,
-		isArrayCamera: true
-	});
+	ArrayCamera.prototype.isArrayCamera = true;
 
 
 	class Group extends Object3D {
 	class Group extends Object3D {
 		constructor() {
 		constructor() {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
build/three.min.js


+ 7 - 9
build/three.module.js

@@ -21559,21 +21559,19 @@ function WebGLUtils( gl, extensions, capabilities ) {
 
 
 }
 }
 
 
-function ArrayCamera( array = [] ) {
+class ArrayCamera extends PerspectiveCamera {
 
 
-	PerspectiveCamera.call( this );
+	constructor( array = [] ) {
 
 
-	this.cameras = array;
-
-}
+		super();
 
 
-ArrayCamera.prototype = Object.assign( Object.create( PerspectiveCamera.prototype ), {
+		this.cameras = array;
 
 
-	constructor: ArrayCamera,
+	}
 
 
-	isArrayCamera: true
+}
 
 
-} );
+ArrayCamera.prototype.isArrayCamera = true;
 
 
 class Group extends Object3D {
 class Group extends Object3D {
 
 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio