The left boundary of the frustum.
The right boundary of the frustum.
The bottom boundary of the frustum.
The top boundary of the frustum.
The distance to the near clipping plane.
The distance to the far clipping plane.
Optional
dest: FloatArrayParamAn optional destination matrix to store the result. If not provided, a new matrix is created.
The resulting 4x4 frustum projection matrix. If dest
is provided, it will be modified; otherwise, a new matrix is returned.
Returns a 4x4 perspective projection matrix based on the given frustum bounds.
This function creates a perspective projection matrix from the left, right, bottom, top, near, and far frustum planes. It is commonly used for 3D rendering where the perspective effect is required.