Set the x, y and z values of this vector both equal to scalar.
Vector3 setScalar(double scalar) { x = scalar; y = scalar; z = scalar; return this; }