setToRotation

Sets this matrix to a rotation matrix with a specified angle. Positive angles are interpreted as counter-clockwise rotation.

Return

this matrix with its rotation components set to those specified and all other components set to that of an identity matrix

Parameters

angle

the angle of rotation