跳转到内容

dihedral

matrix3  dihedral(vector a, vector b)

计算将向量a旋转到向量b的旋转矩阵。

vector4  dihedral(vector a, vector b)

计算将向量a旋转到向量b的归一化四元数。