set method
( begin auto-generated from PVector_set.xml )
Sets the x, y, and z component of the vector using two or three separate variables, the data from a PVector, or the values from a float array.
( end auto-generated )
@webref pvector:method @param x the x component of the vector @param y the y component of the vector @param z the z component of the vector @brief Set the components of the vector
Implementation
PVector set(double x, double y, double z) {
this.x = x;
this.y = y;
this.z = z;
return this;
}