Scale /Global scale

vector3 Scale(vector3 v)

Scales the v vector using the current global scale factor.

SetScaleFactor(2.0f);
vector3 v(10.0f, 20.0f, 30.0f);
vector3 scaledVector(Scale(v));
print(vector3ToString(scaleVector));

Output:

(20, 40, 60)