Skip to main content

orthonormal_basis

Function orthonormal_basis 

Source
pub fn orthonormal_basis(axes: [Vec3; 3]) -> Quat
Expand description

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

Each axis must be a unit vector.