From c56ec720ebb90f1bb0f77441ae1c06f8582ff07b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 25 Sep 2018 10:00:52 +0700 Subject: [PATCH] glm: Use doc comments instead of regular comment. --- nalgebra-glm/src/ext/matrix_projection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,