[][src]Function nalgebra_glm::pick_matrix

pub fn pick_matrix<N: Real>(
    center: &TVec2<N>,
    delta: &TVec2<N>,
    viewport: &TVec4<N>
) -> TMat4<N>

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.