DirectionalLightShadow.js 367 B

123456789101112
  1. /**
  2. * @author mrdoob / http://mrdoob.com/
  3. */
  4. THREE.DirectionalLightShadow = function ( light ) {
  5. THREE.LightShadow.call( this, new THREE.OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) );
  6. };
  7. THREE.DirectionalLightShadow.prototype = Object.create( THREE.LightShadow.prototype );
  8. THREE.DirectionalLightShadow.prototype.constructor = THREE.DirectionalLightShadow;