1 | /**
|
2 | * @author mrdoob / http://mrdoob.com/
|
3 | */
|
4 |
|
5 | import { PerspectiveCamera } from './PerspectiveCamera.js';
|
6 |
|
7 | function ArrayCamera( array ) {
|
8 |
|
9 | PerspectiveCamera.call( this );
|
10 |
|
11 | this.cameras = array || [];
|
12 |
|
13 | }
|
14 |
|
15 | ArrayCamera.prototype = Object.assign( Object.create( PerspectiveCamera.prototype ), {
|
16 |
|
17 | constructor: ArrayCamera,
|
18 |
|
19 | isArrayCamera: true
|
20 |
|
21 | } );
|
22 |
|
23 |
|
24 | export { ArrayCamera };
|