Luna::AffineMatrix::translation_matrix

Float4x4 translation_matrix(const Float4x4 &affine_matrix)

Extracts the translation matrix from one 3D affine matrix.

Parameters

  • in affine_matrix

    The affine matrix to extract the matrix.

Return value

Returns the extracted matrix.