linearly v0.32.0 • Docs
linearly v0.32.0 / mat3 / fromRotation
Function: fromRotation()
fromRotation(
deg
):mat3
Creates a matrix from a given angle
Parameters
• deg: number
The angle to rotate the matrix by, in degrees
linearly v0.32.0 • Docs
linearly v0.32.0 / mat3 / fromRotation
fromRotation(
deg
):mat3
Creates a matrix from a given angle
• deg: number
The angle to rotate the matrix by, in degrees