Explorar o código

cleanup unused function in webglRenderer

gero3 %!s(int64=11) %!d(string=hai) anos
pai
achega
71ec6dc880
Modificáronse 1 ficheiros con 0 adicións e 14 borrados
  1. 0 14
      src/renderers/WebGLRenderer.js

+ 0 - 14
src/renderers/WebGLRenderer.js

@@ -4025,20 +4025,6 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 	};
 
-	function removeInstancesDirect( objlist, object ) {
-
-		for ( var o = objlist.length - 1; o >= 0; o -- ) {
-
-			if ( objlist[ o ] === object ) {
-
-				objlist.splice( o, 1 );
-
-			}
-
-		}
-
-	};
-
 	// Materials
 
 	this.initMaterial = function ( material, lights, fog, object ) {