[]Function rusty_engine::prelude::glm::infinite_perspective_rh_no

pub fn infinite_perspective_rh_no<N>(
    aspect: N,
    fovy: N,
    near: N
) -> Matrix<N, U4, U4, <DefaultAllocator as Allocator<N, U4, U4>>::Buffer> where
    N: RealField

Build infinite right-handed perspective projection matrix with [-1,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.