div2 static method

PVector? div2(
  1. PVector v,
  2. double n
)

Divide a vector by a scalar and return the result in a new vector. @param v the vector to divide by the scalar @return a new vector that is v1 / n

Implementation

static PVector? div2(PVector v, double n) {
  return div3(v, n, null);
}