浏览代码

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

Mr.doob 4 年之前
父节点
当前提交
617cacb78d
共有 1 个文件被更改,包括 6 次插入0 次删除
  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 () {
 	computeVertexNormals: function () {
 
 
 		const index = this.index;
 		const index = this.index;