Bläddra i källkod

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

Mr.doob 4 år sedan
förälder
incheckning
617cacb78d
1 ändrade filer med 6 tillägg och 0 borttagningar
  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;