Explorar el Código

Return geometry after calling applyMatrix()

Return geometry (`this`) after calling `applyMatrix():`
Wilt hace 9 años
padre
commit
a266e460f4
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/core/Geometry.js

+ 2 - 0
src/core/Geometry.js

@@ -87,6 +87,8 @@ THREE.Geometry.prototype = {
 		this.verticesNeedUpdate = true;
 		this.normalsNeedUpdate = true;
 
+		return this;
+
 	},
 
 	rotateX: function () {