mat4:translate

Translates the matrix.

m = mat4:translate(translation)

Arguments

NameTypeDescription
translationvec3The translation vector.

Returns

NameTypeDescription
mmat4The original matrix.

See also