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