Graphmath.Vec2.scale
You're seeing just the function
scale
, go back to Graphmath.Vec2 module for more information.
Link to this function
scale(a, scale)
Specs
scale( a, scale )
uniformly scales a vec2
.
a
is the vec2
to be scaled.
scale
is the float to scale each element of a
by.
It returns a tuple of the form { a<sub>x</sub>scale, a<sub>y</sub>scale }.