RectAreaLightShadow.js 455 B

123456789101112131415161718
  1. /**
  2. * @author aallison / http://github.com/abelnation
  3. */
  4. THREE.RectAreaLightShadow = function () {
  5. THREE.LightShadow.call( this, new THREE.PerspectiveCamera( 50, 1, 0.5, 500 ) );
  6. };
  7. THREE.RectAreaLightShadow.prototype = Object.create( THREE.LightShadow.prototype );
  8. THREE.RectAreaLightShadow.prototype.constructor = THREE.RectAreaLightShadow;
  9. THREE.RectAreaLightShadow.prototype.update = function ( light ) {
  10. // TODO (abelnation): implement
  11. };
粤ICP备19079148号