ArrayCamera.js 329 B

1234567891011121314151617181920
  1. import { PerspectiveCamera } from './PerspectiveCamera.js';
  2. function ArrayCamera( array = [] ) {
  3. PerspectiveCamera.call( this );
  4. this.cameras = array;
  5. }
  6. ArrayCamera.prototype = Object.assign( Object.create( PerspectiveCamera.prototype ), {
  7. constructor: ArrayCamera,
  8. isArrayCamera: true
  9. } );
  10. export { ArrayCamera };
粤ICP备19079148号