setRotation

fun setRotation(matrix: Matrix3, rotation: Matrix3, result: Matrix3): Matrix3(source)

Sets the rotation assuming the matrix is an affine transformation.

Return

The modified result parameter.

Parameters

matrix

The matrix.

rotation

The rotation matrix.

result

The object onto which to store the result.

See also