scale vector v with s and set for this vector
v
Vec3 scale (Vec3 v, double s ) { x = v.x * s; y = v.y * s; z = v.z * s; return this; }