Luna::AffineMatrix::rotation

f32 rotation(const Float3x3 &affine_matrix)

Extracts the rotation component from one 2D affine matrix.

Parameters

  • in affine_matrix

    The affine matrix to extract the vector.

Return value

Returns the extracted rotation value represented in radians.