UNPKG

three

Version:

JavaScript 3D library

21 lines (10 loc) 330 B
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 };