I have an array of vertex coordinates and I'm using it in conjunction with glVertexPointer to draw a 2d shape. What I'm trying to figure out is, after applying a transformation such as reposition or rotate, how to either 1) update that array to reflect the new coordinates of each vertex, or 2) somehow retrieve the coordinate info.



