Function nalgebra_glm::proj

source ·
pub fn proj<T: Number>(m: &TMat4<T>, normal: &TVec3<T>) -> TMat4<T>
Expand description

Build planar projection matrix along normal axis, and right-multiply it to m.