copy method

PVector copy()

( begin auto-generated from PVector_copy.xml )

Gets a copy of the vector, returns a PVector object.

( end auto-generated )

@webref pvector:method @usage web_application @brief Get a copy of the vector

Implementation

PVector copy() {
  return new PVector(x, y, z);
}