DirectionalLightShadow.js 462 B

123456789101112131415161718192021
  1. import { LightShadow } from './LightShadow.js';
  2. import { OrthographicCamera } from '../cameras/OrthographicCamera.js';
  3. /**
  4. * @author mrdoob / http://mrdoob.com/
  5. */
  6. function DirectionalLightShadow( ) {
  7. LightShadow.call( this, new OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) );
  8. }
  9. DirectionalLightShadow.prototype = Object.assign( Object.create( LightShadow.prototype ), {
  10. constructor: DirectionalLightShadow
  11. } );
  12. export { DirectionalLightShadow };