Creates a new matrix that replaces the translation in the rightmost column of the given affine matrix with the provided translation vector.
The matrix to modify.
The new translation vector.
The matrix to store the result.
The resulting matrix with the updated translation.
Creates a new matrix that replaces the translation in the rightmost column of the given affine matrix with the provided translation vector.