Function nalgebra_glm::orientation [−][src]
pub fn orientation<N: Real>(normal: &TVec3<N>, up: &TVec3<N>) -> TMat4<N>
Build the rotation matrix needed to align normal
and up
.
pub fn orientation<N: Real>(normal: &TVec3<N>, up: &TVec3<N>) -> TMat4<N>
Build the rotation matrix needed to align normal
and up
.