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