ReflectorRTT.js 309 B

1234567891011121314
  1. ( function () {
  2. var ReflectorRTT = function ( geometry, options ) {
  3. THREE.Reflector.call( this, geometry, options );
  4. this.geometry.setDrawRange( 0, 0 ); // avoid rendering geometry
  5. };
  6. ReflectorRTT.prototype = Object.create( THREE.Reflector.prototype );
  7. THREE.ReflectorRTT = ReflectorRTT;
  8. } )();