浏览代码

WebGLObjects: Removed unneeded function.

Mr.doob 10 年之前
父节点
当前提交
efc7554e7b
共有 1 个文件被更改,包括 0 次插入15 次删除
  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 ) {