The minimum bounds of the frustum, represented as [left, bottom, near].
The maximum bounds of the frustum, represented as [right, top, far].
Optional
m: FloatArrayParamAn optional destination matrix to store the result. If not provided, a new matrix is created.
The resulting 4x4 frustum projection matrix. If m
is provided, it will be modified; otherwise, a new matrix is returned.
Returns a 4x4 perspective frustum projection matrix, defined by the given near and far planes and the frustum bounds.
This function generates a perspective frustum matrix, which is useful for 3D transformations that map coordinates within a frustum defined by the near and far planes, and the left, right, bottom, and top frustum bounds.