Matrix.ortho

Returns orthographic projection transform matrix.

struct Matrix(T, uint U, uint V)
static
static if(U == V)
static if(!(U == 3))
static if(U == 4)
ortho
if (
__traits(isArithmetic, T)
)

Parameters

width T

width of orthographic view area

height T

height of orthographic view area

nearZ T

near side z value of orthographic view area

farZ T

far side z value of orthographic view area

Return Value

Type: Matrix

orthographic projection transformation matrix

Meta