pub fn perspective_fov_lh_no<T: RealNumber>(
    fov: T,
    width: T,
    height: T,
    near: T,
    far: T
) -> TMat4<T>
Expand description

Creates a matrix for a left hand perspective-view frustum with a depth range of -1 to 1

Parameters

  • fov - Field of view, in radians
  • width - Width of the viewport
  • height - Height of the viewport
  • near - Distance from the viewer to the near clipping plane
  • far - Distance from the viewer to the far clipping plane