pub fn reversed_infinite_perspective_rh_zo<T: RealNumber>(
    aspect: T,
    fovy: T,
    near: T
) -> TMat4<T>
Expand description

Build an infinite perspective projection matrix with a reversed [0, 1] depth range.

Parameters

  • 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

The aspect and fovy argument are interchanged compared to the original GLM API.