Explorar o código

Return geometry after calling applyMatrix()

Return geometry (`this`) after calling `applyMatrix()` also in `THREE.BufferGeometry`
Wilt %!s(int64=9) %!d(string=hai) anos
pai
achega
b4ea42b634
Modificáronse 1 ficheiros con 2 adicións e 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 () {