Luna::AffineMatrix::rotation_matrix

Float3x3 rotation_matrix(const Float3x3 &affine_matrix)

Extracts the rotation matrix from one 2D affine matrix.

Parameters

  • in affine_matrix

    The affine matrix to extract the matrix.

Return value

Returns the extracted matrix.