Selaa lähdekoodia

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

Mr.doob 4 vuotta sitten
vanhempi
commit
617cacb78d
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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;