linearly v0.32.0 • Docs
linearly v0.32.0 / mat2 / rotate
Function: rotate()
rotate(
a
,deg
):mat2
Rotates a mat2 by the given angle
Parameters
• a: mat2
the matrix to rotate
• deg: number
the angle to rotate the matrix by, in degrees
linearly v0.32.0 • Docs
linearly v0.32.0 / mat2 / rotate
rotate(
a
,deg
):mat2
Rotates a mat2 by the given angle
• a: mat2
the matrix to rotate
• deg: number
the angle to rotate the matrix by, in degrees