vec_for_vertex is supposed to give you always the actual position of the vertex, no matter how it moves or animates.