set method
Sets all components at once.
Values are converted using num.toDouble, truncating any fractional part.
Returns this instance for fluent chaining.
Implementation
V3 set(num x, num y, num z) {
this.x = x.toDouble();
this.y = y.toDouble();
this.z = z.toDouble();
return _this;
}