浏览代码

WebGLObjects: Commented out timer.

Mr.doob 10 年之前
父节点
当前提交
c626b32be4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/renderers/webgl/WebGLObjects.js

+ 2 - 2
src/renderers/webgl/WebGLObjects.js

@@ -155,7 +155,7 @@ THREE.WebGLObjects = function ( gl, properties, info ) {
 		var index = attributes.index;
 		var index = attributes.index;
 		var position = attributes.position;
 		var position = attributes.position;
 
 
-		console.time( 'wireframe' );
+		// console.time( 'wireframe' );
 
 
 		if ( index !== undefined ) {
 		if ( index !== undefined ) {
 
 
@@ -190,7 +190,7 @@ THREE.WebGLObjects = function ( gl, properties, info ) {
 
 
 		}
 		}
 
 
-		console.timeEnd( 'wireframe' );
+		// console.timeEnd( 'wireframe' );
 
 
 		var TypeArray = position.count > 65535 ? Uint32Array : Uint16Array;
 		var TypeArray = position.count > 65535 ? Uint32Array : Uint16Array;
 		var attribute = new THREE.IndexBufferAttribute( new TypeArray( indices ), 1 );
 		var attribute = new THREE.IndexBufferAttribute( new TypeArray( indices ), 1 );