Luna::AffineMatrix::translation

Float3 translation(const Float4x4 &affine_matrix)

Extracts the translation component from one 3D affine matrix.

Parameters

  • in affine_matrix

    The affine matrix to extract the vector.

Return value

Returns the extracted vector.