[][src]Function nalgebra_glm::orientation

pub fn orientation<N: RealField>(normal: &TVec3<N>, up: &TVec3<N>) -> TMat4<N>

Build the rotation matrix needed to align normal and up.