setRotation

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