25 lines
378 B
JavaScript
25 lines
378 B
JavaScript
|
/**
|
||
|
* @author mrdoob / http://mrdoob.com/
|
||
|
*/
|
||
|
|
||
|
import { PerspectiveCamera } from './PerspectiveCamera.js';
|
||
|
|
||
|
function ArrayCamera( array ) {
|
||
|
|
||
|
PerspectiveCamera.call( this );
|
||
|
|
||
|
this.cameras = array || [];
|
||
|
|
||
|
}
|
||
|
|
||
|
ArrayCamera.prototype = Object.assign( Object.create( PerspectiveCamera.prototype ), {
|
||
|
|
||
|
constructor: ArrayCamera,
|
||
|
|
||
|
isArrayCamera: true
|
||
|
|
||
|
} );
|
||
|
|
||
|
|
||
|
export { ArrayCamera };
|