浏览代码

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 () {