linearly v0.32.0 • Docs
linearly v0.32.0 / mat2 / rs
Function: rs()
rs(
r
,s
):number
[]
Alias for fromRotScale
Parameters
• r: null
| number
= null
Rotation angle in degrees
• s: null
| vec2
= null
Scaling vector
Returns
number
[]
The matrix that represents the transformation