[−]Function rusty_engine::prelude::glm::pick_matrix
pub fn pick_matrix<N>(
center: &Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>,
delta: &Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>,
viewport: &Matrix<N, U4, U1, <DefaultAllocator as Allocator<N, U4, U1>>::Buffer>
) -> Matrix<N, U4, U4, <DefaultAllocator as Allocator<N, U4, U4>>::Buffer> where
N: RealField,
Define a picking region.
Parameters:
center
- Specify the center of a picking region in window coordinates.delta
- Specify the width and height, respectively, of the picking region in window coordinates.viewport
- Rendering viewport.