UNPKG

three

Version:

JavaScript 3D library

14 lines (8 loc) 275 B
/** * RTT version */ THREE.ReflectorRTT = function ( geometry, options ) { THREE.Reflector.call( this, geometry, options ); this.geometry.setDrawRange( 0, 0 ); // avoid rendering geometry }; THREE.ReflectorRTT.prototype = Object.create( THREE.Reflector.prototype );