linearly v0.32.0 • Docs
linearly v0.32.0 / mat2 / rotation
Function: rotation()
rotation(
deg
):mat2
Alias for fromRotation
Parameters
• deg: number
The angle to rotate the matrix by, in degrees
linearly v0.32.0 • Docs
linearly v0.32.0 / mat2 / rotation
rotation(
deg
):mat2
Alias for fromRotation
• deg: number
The angle to rotate the matrix by, in degrees