From 94b502360531cd2f1dbf8423f8b6dfa2d247974e Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Sat, 6 Apr 2019 09:41:19 +0200 Subject: [PATCH] Remove comments about float depth buffer. --- nalgebra-glm/src/ext/matrix_clip_space.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nalgebra-glm/src/ext/matrix_clip_space.rs b/nalgebra-glm/src/ext/matrix_clip_space.rs index d7ab44db..68a1b1e4 100644 --- a/nalgebra-glm/src/ext/matrix_clip_space.rs +++ b/nalgebra-glm/src/ext/matrix_clip_space.rs @@ -737,8 +737,6 @@ pub fn infinite_perspective_rh_zo(aspect: N, fovy: N, near: N) -> /// Creates a matrix for a right hand perspective-view frustum with a reversed depth range of -1 to 1. /// -/// Note that when using reversed perspective, it is best to use a depth buffer based on floating points. -/// /// # Parameters /// /// * `fovy` - Field of view, in radians @@ -766,8 +764,6 @@ pub fn reversed_perspective_rh_no(aspect: N, fovy: N, near: N, far /// Creates a matrix for a right hand perspective-view frustum with a reversed depth range of 0 to 1. /// -/// Note that when using reversed perspective, it is best to use a depth buffer based on floating points. -/// /// # Parameters /// /// * `fovy` - Field of view, in radians @@ -795,8 +791,6 @@ pub fn reversed_perspective_rh_zo(aspect: N, fovy: N, near: N, far /// Build an infinite perspective projection matrix with a reversed [-1, 1] depth range. /// -/// Note that when using reversed perspective, it is best to use a depth buffer based on floating points. -/// /// # Parameters /// /// * `fovy` - Field of view, in radians @@ -819,8 +813,6 @@ pub fn reversed_infinite_perspective_rh_no(aspect: N, fovy: N, nea /// Build an infinite perspective projection matrix with a reversed [0, 1] depth range. /// -/// Note that when using reversed perspective, it is best to use a depth buffer based on floating points. -/// /// # Parameters /// /// * `fovy` - Field of view, in radians