소스 검색

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 () {
 
 		const index = this.index;