linearly v0.32.0 • Docs
linearly v0.32.0 / vec2 / scale
Function: scale()
scale(
a
,s
):vec2
Scales a vec2 by a scalar number
Parameters
• a: vec2
the vector to scale
• s: number
amount to scale the vector by
linearly v0.32.0 • Docs
linearly v0.32.0 / vec2 / scale
scale(
a
,s
):vec2
Scales a vec2 by a scalar number
• a: vec2
the vector to scale
• s: number
amount to scale the vector by