Browse Source

WebGLObjects: Removed unneeded function.

Mr.doob 10 years ago
parent
commit
efc7554e7b
1 changed files with 0 additions and 15 deletions
  1. 0 15
      src/renderers/webgl/WebGLObjects.js

+ 0 - 15
src/renderers/webgl/WebGLObjects.js

@@ -42,24 +42,9 @@ THREE.WebGLObjects = function ( gl, properties, info ) {
 
 	}
 
-	function removeInstances( objlist, object ) {
-
-		for ( var o = objlist.length - 1; o >= 0; o -- ) {
-
-			if ( objlist[ o ].object === object ) {
-
-				objlist.splice( o, 1 );
-
-			}
-
-		}
-
-	}
-
 	//
 
 	this.objects = objects;
-
 	this.geometries = geometries;
 
 	this.init = function ( object ) {