Create a transformation matrix that represents a translation by the given vector. Equivalent to (but faster than) translate(identity(out), vector, out).
translate(identity(out), vector, out)
The translation vector.
The matrix to store the result in.
The transformation matrix.
Transformation matrix
Create a transformation matrix that represents a translation by the given vector. Equivalent to (but faster than)
translate(identity(out), vector, out).