Explorar el Código

Removed check for WebGLRenderer in ShaderUtils.

I believe this is not needed anymore.
alteredq hace 13 años
padre
commit
b3428102e8
Se han modificado 3 ficheros con 1 adiciones y 9 borrados
  1. 0 4
      build/three.js
  2. 1 1
      build/three.min.js
  3. 0 4
      src/extras/ShaderUtils.js

+ 0 - 4
build/three.js

@@ -25095,8 +25095,6 @@ THREE.SceneUtils = {
  *
  */
 
-if ( THREE.WebGLRenderer ) {
-
 THREE.ShaderUtils = {
 
 	lib: {
@@ -25861,8 +25859,6 @@ THREE.ShaderUtils = {
 
 	}
 
-};
-
 };
 /**
  * @author zz85 / http://www.lab4games.net/zz85/blog

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.min.js


+ 0 - 4
src/extras/ShaderUtils.js

@@ -10,8 +10,6 @@
  *
  */
 
-if ( THREE.WebGLRenderer ) {
-
 THREE.ShaderUtils = {
 
 	lib: {
@@ -777,5 +775,3 @@ THREE.ShaderUtils = {
 	}
 
 };
-
-};

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio