Function nalgebra_glm::orientation

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

Build the rotation matrix needed to align normal and up.