Scale /Global scale

vector2 Scale(vector2 v)

Scales the v vector using the current global scale factor.

SetScaleFactor(2.0f);
vector2 v(10.0f, 20.0f);
vector2 scaledVector(Scale(v));
print(vector2ToString(scaleVector));

Output:

(20, 40)