Matrix.makeTRS

Returns TRS transform matrix.

struct Matrix(T, uint U, uint V)
static
static if(U == V)
static if(!(U == 3))
static if(U == 4)
makeTRS
(
const Vector!(T, 3) trans
,
const Matrix!(T, 3, 3) rot
,
const Vector!(T, 3) scale
)
if (
__traits(isArithmetic, T)
)

Parameters

rot Matrix!(T, 3, 3)

rotation matrix, which represents R

scale Vector!(T, 3)

scale vector, which represents S

Return Value

Type: Matrix

perspective projection transform matrix

Meta