fn perspective_infinite_reverse_rh(fov_y_radians: T, aspect_ratio: T, z_near: T) -> Self {
        glam_assert!(z_near > T::ZERO);
        let f = T::ONE / (T::HALF * fov_y_radians).tan();
        Self::from_cols(
            V4::new(f / aspect_ratio, T::ZERO, T::ZERO, T::ZERO),
            V4::new(T::ZERO, f, T::ZERO, T::ZERO),
            V4::new(T::ZERO, T::ZERO, T::ZERO, -T::ONE),
            V4::new(T::ZERO, T::ZERO, z_near, T::ZERO),
        )
    }
/// Creates an infinite reverse right-handed perspective projection matrix
/// with [0,1] depth range.
Creates an infinite reverse right-handed perspective projection matrix
with [0,1] depth range.
Creates an infinite reverse right - handed perspective projection matrix with [ 0 1 ] depth range .
fn perspective_infinite_reverse_rh(fov_y_radians: T, aspect_ratio: T, z_near: T) -> Self {
        glam_assert!(z_near > T::ZERO);
        let f = T::ONE / (T::HALF * fov_y_radians).tan();
        Self::from_cols(
            V4::new(f / aspect_ratio, T::ZERO, T::ZERO, T::ZERO),
            V4::new(T::ZERO, f, T::ZERO, T::ZERO),
            V4::new(T::ZERO, T::ZERO, T::ZERO, -T::ONE),
            V4::new(T::ZERO, T::ZERO, z_near, T::ZERO),
        )
    }
fn perspective_infinite_reverse_rh ( fov_y_radians : T , aspect_ratio : T , z_near : T ) -> Self { glam_assert ! ( z_near T ZERO ) ; let f = T :: ONE / ( T :: HALF * fov_y_radians ) . tan ( ) ; Self :: from_cols ( V4 :: new ( f / aspect_ratio , T :: ZERO , T :: ZERO , T :: ZERO ) , V4 :: new ( T :: ZERO , f , T :: ZERO , T :: ZERO ) , V4 :: new ( T :: ZERO , T :: ZERO , T :: ZERO , - T :: ONE ) , V4 :: new ( T :: ZERO , T :: ZERO , z_near , T :: ZERO ) , ) }
Creates an infinite reverse right-handed perspective projection matrix
with [0,1] depth range.
Creates an infinite reverse right - handed perspective projection matrix with [ 0 1 ] depth range .
fov_y_radians
T
aspect_ratio
T
z_near
T
fov_y_radians
T
aspect_ratio
T
z_near
T