Template Function TRAP::Math::OrthographicReverseZ#

Function Documentation#

template<typename T>
constexpr Mat<4, 4, T> TRAP::Math::OrthographicReverseZ(T left, T right, T bottom, T top, T zNear, T zFar) noexcept#

Create a matrix for an orthographic parallel viewing volume.

Returns:

Projection matrix with a reversed Z axis.