getRotation

fun getRotation(matrix: Matrix2, result: Matrix2): Matrix2(source)

Extracts the rotation matrix assuming the matrix is an affine transformation.

Return

The modified result parameter.

Parameters

matrix

The matrix.

result

The object onto which to store the result.

See also