소스 검색

Return geometry after calling applyMatrix()

Return geometry (`this`) after calling `applyMatrix():`
Wilt 9 년 전
부모
커밋
a266e460f4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 () {