Explorar el Código

Return geometry after calling applyMatrix()

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

+ 2 - 0
src/core/BufferGeometry.js

@@ -142,6 +142,8 @@ THREE.BufferGeometry.prototype = {
 
 		}
 
+		return this;
+
 	},
 
 	rotateX: function () {