### Fix scaling of x/y field of views

Prevously, the x field of view was computed by scaling the y field of view by the aspect ratio of the canvas. However, this is wrong because the field of view angles do not scale linearly with the aspect ratio. Fix this issue by using trig functions to convert the angle to distance, scale the distance, and then convert back to angle.

Please register or sign in to comment