Matrix.perspective

Returns perspective projection transform matrix.

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

Parameters

aspectWperH T

bottom side aspect retio

fovy Angle

FOV of y direction

nearZ T

near side z value of orthographic view area

farZ T

far side z value of orthographic view area

Return Value

Type: Matrix

perspective projection transform matrix

Meta