Generates a orthogonal projection matrix with the given bounds. The near/far clip planes correspond to a normalized device coordinate Z range of [-1, 1], which matches WebGL/OpenGL's clip volume.
mat4 frustum matrix will be written into
Left bound of the frustum
Right bound of the frustum
Bottom bound of the frustum
Top bound of the frustum
Near bound of the frustum
Far bound of the frustum
out
Generated using TypeDoc
Generates a orthogonal projection matrix with the given bounds. The near/far clip planes correspond to a normalized device coordinate Z range of [-1, 1], which matches WebGL/OpenGL's clip volume.