Explorar el Código

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

Mr.doob hace 4 años
padre
commit
617cacb78d
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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;