Forráskód Böngészése

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

Mr.doob 4 éve
szülő
commit
617cacb78d
1 módosított fájl, 6 hozzáadás és 0 törlés
  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;