getTranslation

Gets the translation portion of the provided matrix, assuming the matrix is an affine transformation matrix.

Return

The modified result parameter.

Parameters

matrix

The matrix to use.

result

The object onto which to store the result.

See also