2
0
Эх сурвалжийг харах

cleanup unused function in webglRenderer

gero3 11 жил өмнө
parent
commit
71ec6dc880

+ 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 ) {