Template Function TRAP::Math::Orthographic#

Function Documentation#

template<typename T>
constexpr Mat<4, 4, T> TRAP::Math::Orthographic(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.