linearly v0.32.0 • Docs
linearly v0.32.0 / mat2d / trs
Function: trs()
trs(
t
,r
,s
):mat2d
Alias for fromTRS
Parameters
• t: null
| vec2
= null
Translation vector
• r: null
| number
= null
Rotation angle in degrees
• s: null
| number
| vec2
= null
Scaling vector or a number
Returns
The matrix that represents the transformation