add method

void add(
  1. PVector other
)

Implementation

void add(PVector other) {
  x += other.x;
  y += other.y;
}