From 2838350ea42947d01cc67705a3f75de5d84ea4aa Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Tue, 9 Apr 2019 20:25:42 +0200 Subject: [PATCH] Reorder comments about parameters of projection so they match the order of the function parameter. --- nalgebra-glm/src/ext/matrix_clip_space.rs | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/nalgebra-glm/src/ext/matrix_clip_space.rs b/nalgebra-glm/src/ext/matrix_clip_space.rs index 93558206..6b279024 100644 --- a/nalgebra-glm/src/ext/matrix_clip_space.rs +++ b/nalgebra-glm/src/ext/matrix_clip_space.rs @@ -456,8 +456,8 @@ pub fn perspective_fov_zo(fov: N, width: N, height: N, near: N, fa /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -485,8 +485,8 @@ pub fn perspective(aspect: N, fovy: N, near: N, far: N) -> TMat4(aspect: N, fovy: N, near: N, far: N) -> TMat /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -536,8 +536,8 @@ pub fn perspective_lh_no(aspect: N, fovy: N, near: N, far: N) -> T /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -572,8 +572,8 @@ pub fn perspective_lh_zo(aspect: N, fovy: N, near: N, far: N) -> T /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -587,8 +587,8 @@ pub fn perspective_no(aspect: N, fovy: N, near: N, far: N) -> TMat /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -602,8 +602,8 @@ pub fn perspective_rh(aspect: N, fovy: N, near: N, far: N) -> TMat /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -639,8 +639,8 @@ pub fn perspective_rh_no(aspect: N, fovy: N, near: N, far: N) -> T /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -676,8 +676,8 @@ pub fn perspective_rh_zo(aspect: N, fovy: N, near: N, far: N) -> T /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -691,8 +691,8 @@ pub fn perspective_zo(aspect: N, fovy: N, near: N, far: N) -> TMat /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane. /// /// # Important note @@ -714,8 +714,8 @@ pub fn infinite_perspective_rh_no(aspect: N, fovy: N, near: N) -> /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane. /// /// # Important note @@ -739,8 +739,8 @@ pub fn infinite_perspective_rh_zo(aspect: N, fovy: N, near: N) -> /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane /// * `far` - Distance from the viewer to the far clipping plane /// @@ -767,8 +767,8 @@ pub fn reversed_perspective_rh_zo(aspect: N, fovy: N, near: N, far /// /// # Parameters /// -/// * `fovy` - Field of view, in radians /// * `aspect` - Ratio of viewport width to height (width/height) +/// * `fovy` - Field of view, in radians /// * `near` - Distance from the viewer to the near clipping plane. /// /// # Important note