提交 bbe01b9e 编写于 作者: W WestLangley

Fix .cross() method

上级 7b9118d3
......@@ -539,13 +539,7 @@ Object.assign( Vector3.prototype, {
}
var x = this.x, y = this.y, z = this.z;
this.x = y * v.z - z * v.y;
this.y = z * v.x - x * v.z;
this.z = x * v.y - y * v.x;
return this;
return this.crossVectors( this, v );
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册