Function pick_matrix

Source
pub fn pick_matrix<T>(
    center: &Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>,
    delta: &Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>,
    viewport: &Matrix<T, Const<4>, Const<1>, ArrayStorage<T, 4, 1>>,
) -> Matrix<T, Const<4>, Const<4>, ArrayStorage<T, 4, 4>>
where T: RealNumber,
Expand description

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.