瀏覽代碼

Vector3.getScaleFromMatrix returns now the Vector-Object

Dominique Sandoz 13 年之前
父節點
當前提交
4513b291dd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/core/Vector3.js

+ 1 - 0
src/core/Vector3.js

@@ -490,6 +490,7 @@ THREE.Vector3.prototype = {
 		this.y = sy;
 		this.z = sz;
 
+		return this;
 	},
 
 	equals: function ( v ) {