Function nalgebra_glm::proj

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

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