浏览代码

reorderBuffers: remove unused array

dubejf 11 年之前
父节点
当前提交
eb806ee326
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/core/BufferGeometry.js

+ 0 - 1
src/core/BufferGeometry.js

@@ -829,7 +829,6 @@ THREE.BufferGeometry.prototype = {
 
 		/* Create a copy of all attributes for reordering. */
 		var sortedAttributes = {};
-		var types = [ Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array ];
 		for ( var attr in this.attributes ) {
 			if ( attr == 'index' )
 				continue;