Luna::AffineMatrix::scaling

Float2 scaling(const Float3x3 &affine_matrix)

Extracts the scaling component from one 2D affine matrix.

Parameters

  • in affine_matrix

    The affine matrix to extract the component.

Return value

Returns the extracted component.