浏览代码

BufferGeometry: Clean up.

Mr.doob 4 年之前
父节点
当前提交
c2fe565272
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      src/core/BufferGeometry.js

+ 1 - 7
src/core/BufferGeometry.js

@@ -733,12 +733,6 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
 
 	},
 
-	computeFaceNormals: function () {
-
-		// backwards compatibility
-
-	},
-
 	computeVertexNormals: function () {
 
 		const index = this.index;
@@ -926,7 +920,7 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
 
 		if ( this.index === null ) {
 
-			console.warn( 'THREE.BufferGeometry.toNonIndexed(): Geometry is already non-indexed.' );
+			console.warn( 'THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed.' );
 			return this;
 
 		}