2018-08-01 21:34:58 +08:00

10 lines
251 B
JavaScript

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 );