getRotation

fun getRotation(matrix: Matrix3, result: Matrix3): Matrix3(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