pub fn orthonormal_basis_from_vec(axis: Vec2) -> Rot2
Computes the rotation matrix of the orthonormal basis computed from the given axis.
The axis must be a unit vector.
axis