linearly v0.32.0 • Docs
linearly v0.32.0 / mat2d / rotate
Function: rotate()
rotate(
m
,deg
,origin
?):mat2d
Rotates a mat2d by the given angle
Parameters
• m: mat2d
• deg: number
• origin?: vec2
linearly v0.32.0 • Docs
linearly v0.32.0 / mat2d / rotate
rotate(
m
,deg
,origin
?):mat2d
Rotates a mat2d by the given angle
• m: mat2d
• deg: number
• origin?: vec2