提交 be6bd29f 编写于 作者: M Mugen87

EffectComposer: Clean up

上级 0d1909eb
......@@ -50,7 +50,7 @@ THREE.EffectComposer = function ( renderer, renderTarget ) {
Object.assign( THREE.EffectComposer.prototype, {
swapBuffers: function() {
swapBuffers: function () {
var tmp = this.readBuffer;
this.readBuffer = this.writeBuffer;
......@@ -151,7 +151,7 @@ Object.assign( THREE.EffectComposer.prototype, {
for ( var i = 0; i < this.passes.length; i ++ ) {
this.passes[i].setSize( width, height );
this.passes[ i ].setSize( width, height );
}
......@@ -178,7 +178,7 @@ THREE.Pass = function () {
Object.assign( THREE.Pass.prototype, {
setSize: function( width, height ) {},
setSize: function ( width, height ) {},
render: function ( renderer, writeBuffer, readBuffer, delta, maskActive ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册