// positions & vertices public void SetPosition(int pi, Vertex v) { positions[pi] = v.position; }
public int AddPosition(Vertex v) { positions.Add(v.position); return(positions.Count - 1); }