[−]Function rusty_engine::prelude::glm::proj2d
pub fn proj2d<N>(
m: &Matrix<N, U3, U3, <DefaultAllocator as Allocator<N, U3, U3>>::Buffer>,
normal: &Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>
) -> Matrix<N, U3, U3, <DefaultAllocator as Allocator<N, U3, U3>>::Buffer> where
N: Number,
Build planar projection matrix along normal axis and right-multiply it to m
.