Translation along x
(tx
), y
(ty
), and z
(tz
) directions, which can be specified
by [tx, ty, tz]
, defaulting to [0, 0, 0]
Rotation along x
(rx
), y
(ry
), and z
(rz
) axes, which can be specified by
[rx, ry, rz]
, defaulting to [0, 0, 0]
Scaling along x
(sx
), y
(sy
), and z
(sz
) directions, which can be specified by
[sx, sy, sz]
, defaulting to [1, 1, 1]
Generated using TypeDoc
This function creates a model matrix of the
mat4
type.