Function orthonormal_basis

Source
pub fn orthonormal_basis(axes: [Vector; 2]) -> Rotation
Expand description

Computes the rotation matrix of the orthonormal basis computed from the given axes.

Each axis must be a unit vector.