点积¶ 参考:https://www.mathsisfun.com/algebra/vectors-dot-product.html 1 cos¶ 可以看到,两个向量方向相同时,夹角为0或3600度,cos(theta)都为1. 方向相反时,cos(theta)为-1。