提交 4e9abd1f 编写于 作者: M Mr.doob

Reverting Vector3.angleTo change. See #7343.

上级 cc06a100
......@@ -655,7 +655,7 @@ THREE.Vector3.prototype = {
angleTo: function ( v ) {
var theta = this.dot( v ) / Math.sqrt( this.lengthSq() * v.lengthSq() );
var theta = this.dot( v ) / ( this.length() * v.length() );
// clamp, to handle numerical problems
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册