提交 efc7554e 编写于 作者: M Mr.doob

WebGLObjects: Removed unneeded function.

上级 f23e4494
......@@ -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 ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册