Browse Source

Merge pull request #5005 from gero3/patch-23

cleanup unused function in webglRenderer
Mr.doob 11 years ago
parent
commit
4fd5a3ded5
1 changed files with 0 additions and 14 deletions
  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 ) {