public static float dist(PVector v1, PVector v2) { return((v1 - v2).magnitude); }
public static PVector sub(PVector v1, PVector v2) { return(new PVector(v1.x - v2.x, v1.y - v2.y)); }
public void set(PVector v) { x = v.x; y = v.y; }
public void sub(PVector v) { x -= v.x; y -= v.y; }
public void add(PVector v) { x += v.x; y += v.y; }
public static void popMatrix() { pt = vectors.Peek(); vectors.Pop(); }