Mugen87 7 лет назад
Родитель
Сommit
a0bcb56352
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/renderers/webgl/WebGLUniforms.js

+ 1 - 1
src/renderers/webgl/WebGLUniforms.js

@@ -163,7 +163,7 @@ function setValue2fv( gl, v ) {
 
 	if ( v.x === undefined ) {
 
-		if ( this.cache[ 0 ] === v[ 0 ] &&  this.cache[ 1 ] === v[ 1 ] ) return;
+		if ( this.cache[ 0 ] === v[ 0 ] && this.cache[ 1 ] === v[ 1 ] ) return;
 
 		gl.uniform2fv( this.addr, v );
 

粤ICP备19079148号