Left side of the near clipping plane viewport.
Right side of the near clipping plane viewport.
Bottom of the near clipping plane viewport.
Top of the near clipping plane viewport.
The depth (negative z coordinate) of the near clipping plane.
The depth (negative z coordinate) of the far clipping plane.
Optional
dst: Float32ArrayOutput matrix. If not passed a new one is created.
Generated using TypeDoc
Computes a 4-by-4 orthogonal transformation matrix given the left, right, bottom, and top dimensions of the near clipping plane as well as the near and far clipping plane distances.
Returns
The perspective matrix.
Member Of
module:twgl/m4