Function nalgebra_glm::orientation[][src]

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

Build the rotation matrix needed to align normal and up.