Jelajahi Sumber

BufferGeometry: Clean up.

Mr.doob 4 tahun lalu
induk
melakukan
c2fe565272
1 mengubah file dengan 1 tambahan dan 7 penghapusan
  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;
 
 		}