Browse Source

Updated builds.

Mr.doob 4 years ago
parent
commit
ab95c91d64
3 changed files with 14 additions and 16 deletions
  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 {
 		constructor() {

File diff suppressed because it is too large
+ 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 {
 

Some files were not shown because too many files changed in this diff