2
0
Эх сурвалжийг харах

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

Mr.doob 4 жил өмнө
parent
commit
617cacb78d

+ 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;