Structs

Enums

Constants

Functions

  • Generalized method to construct a perspective projection with x ∈ [-1,1], y ∈ [-1,1], z ∈ [0,1] given fov_y_radians, aspect_ratio, 1/n, and 1/f. Note that you pass in 1/n and 1/f, not n and f like you normally would for a perspective projection; this is done to enable uniform handling of both finite and infinite far planes.
  • Same as perspective_lh_zo_general, but for right-handed source spaces.