ReflectorRTT.js 610 B

1234567891011121314
  1. console.warn( "THREE.ReflectorRTT: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules." );
  2. /**
  3. * RTT version
  4. */
  5. THREE.ReflectorRTT = function ( geometry, options ) {
  6. THREE.Reflector.call( this, geometry, options );
  7. this.geometry.setDrawRange( 0, 0 ); // avoid rendering geometry
  8. };
  9. THREE.ReflectorRTT.prototype = Object.create( THREE.Reflector.prototype );