Generates a orthogonal projection matrix with the given bounds. The near/far clip planes correspond to a normalized device coordinate Z range of [0, 1], which matches WebGPU/Vulkan/DirectX/Metal'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 [0, 1], which matches WebGPU/Vulkan/DirectX/Metal's clip volume.