linearly v0.32.0 • Docs
linearly v0.32.0 / mat2d / fromScaling
Function: fromScaling()
fromScaling(
v
,origin
?):mat2d
Creates a matrix from a vector scaling
Parameters
• v: number
| vec2
• origin?: vec2
linearly v0.32.0 • Docs
linearly v0.32.0 / mat2d / fromScaling
fromScaling(
v
,origin
?):mat2d
Creates a matrix from a vector scaling
• v: number
| vec2
• origin?: vec2