Browse Source

BufferGeometry: Reverted computeFaceNormals removal (because unit tests...)

Mr.doob 4 years ago
parent
commit
617cacb78d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/core/BufferGeometry.js

+ 6 - 0
src/core/BufferGeometry.js

@@ -733,6 +733,12 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
 
 	},
 
+	computeFaceNormals: function () {
+
+		// backwards compatibility
+
+	},
+
 	computeVertexNormals: function () {
 
 		const index = this.index;