Create a perspective projection matrix.
result = math.perspective(fovy, aspect, near) result = math.perspective(fovy, aspect, near, far)
- The vertical field of view, in radians.
- The aspect ratio.
- The near plane.
- The far plane. If this is unspecified, then the matrix will be created with the far plane at infinity.
- The perspective projection matrix.