Selaa lähdekoodia

Return geometry after calling applyMatrix()

Return geometry (`this`) after calling `applyMatrix()` also in `THREE.BufferGeometry`
Wilt 9 vuotta sitten
vanhempi
commit
b4ea42b634
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/core/BufferGeometry.js

+ 2 - 0
src/core/BufferGeometry.js

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