Function nalgebra_glm::orientation

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

Build the rotation matrix needed to align normal and up.