Signed angle between two vectors without a reference plane

前端 未结 4 1069
余生分开走
余生分开走 2021-02-02 00:15

(In three dimensions) I\'m looking for a way to compute the signed angle between two vectors, given no information other than those vectors. As answered in this question, it is

4条回答
  •  半阙折子戏
    2021-02-02 00:57

    Signed angle between two vectors without a reference plane

    angle = acos(dotproduct(normalized(a), normalized(b)));
    

    signed_angle(a, b) == -signed_angle(b, a)

    I think that's impossible without some kind of reference vector.

提交回复
热议问题