Ver Fonte

Removed check for WebGLRenderer in ShaderUtils.

I believe this is not needed anymore.
alteredq há 13 anos atrás
pai
commit
b3428102e8
3 ficheiros alterados com 1 adições e 9 exclusões
  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

Diff do ficheiro suprimidas por serem muito extensas
+ 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 = {
 	}
 
 };
-
-};

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff