Luna::AffineMatrix::translation

Float2 translation(const Float3x3 &affine_matrix)

Extracts the translation component from one 2D affine matrix.

Parameters

  • in affine_matrix

    The affine matrix to extract the vector.

Return value

Returns the extracted vector.