set

fun set(radians: Double)

Sets the matrix up to be a rotation matrix that stores the angle specified in the matrix.

Parameters

radians

The desired angle of the rotation matrix


fun set(m: Mat2)

Sets current object matrix to be the same as the supplied parameters matrix.

Parameters

m

Matrix to set current object to