Ver Fonte

Update UnrealBloomPass.js

Michael Herzog há 8 anos atrás
pai
commit
1d3391ace5
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      examples/js/postprocessing/UnrealBloomPass.js

+ 2 - 2
examples/js/postprocessing/UnrealBloomPass.js

@@ -137,10 +137,10 @@ THREE.UnrealBloomPass.prototype = Object.assign( Object.create( THREE.Pass.proto
 	constructor: THREE.UnrealBloomPass,
 
 	dispose: function() {
-		for( var i=0; i< this.renderTargetsHorizontal.length(); i++) {
+		for( var i=0; i< this.renderTargetsHorizontal.length; i++) {
 			this.renderTargetsHorizontal[i].dispose();
 		}
-		for( var i=0; i< this.renderTargetsVertical.length(); i++) {
+		for( var i=0; i< this.renderTargetsVertical.length; i++) {
 			this.renderTargetsVertical[i].dispose();
 		}
 		this.renderTargetBright.dispose();