Mat2

fun Mat2()

Default constructor matrix (0,0),(0,0) by default.


fun Mat2(radians: Double)

Constructs and 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