diff --git a/nalgebra-glm/src/ext/matrix_projection.rs b/nalgebra-glm/src/ext/matrix_projection.rs index 5a340e4a..8b445b5f 100644 --- a/nalgebra-glm/src/ext/matrix_projection.rs +++ b/nalgebra-glm/src/ext/matrix_projection.rs @@ -6,8 +6,8 @@ use aliases::{TVec2, TVec3, TVec4, TMat4}; /// /// # 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 +/// * `delta`: Specify the width and height, respectively, of the picking region in window coordinates. +/// * `viewport`: Rendering viewport pub fn pick_matrix(center: &TVec2, delta: &TVec2, viewport: &TVec4) -> TMat4 { let shift = TVec3::new( (viewport.z - (center.x - viewport.x) * na::convert(2.0)) / delta.x,