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.