matrix3 dihedral(vector a, vector b)
Computes the rotation matrix which rotates the vector ‹a› onto the vector ‹b›.
vector4 dihedral(vector a, vector b)
Computes the normalized quaternion which rotates the vector ‹a› onto the vector ‹b›.
matrix |
|
quaternion |