Mat4:translate

Edit

Translates the matrix.



Arguments

NameTypeDescription
vVec3 The translation vector.

Returns

NameTypeDescription
selfMat4 The translated matrix.

Arguments

NameTypeDescription
xnumber The x component of the translation.
ynumber The y component of the translation.
znumber The z component of the translation.

Returns

NameTypeDescription
selfMat4 The translated matrix.

See also