Specifies the field of view angle, in degrees, in the y direction.
Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
Specifies the distance from the viewer to the near clipping plane (always positive).
Specifies the distance from the viewer to the far clipping plane (always positive).
Generated using TypeDoc
creates a perspective projection matrix
Returns
4x4 perspective projection matrix