title: openGL and STL?
body: <p>I am using openGL and am currently passing it a vertex array.
  The problem is that I have to create many vertices, and add them in between one another (for order). This means that using a regular array is pretty annoying/inefficient. </p>
  
  <p>I want to use a data structure from STL so that I can efficiently (and easily) put new vertices at any index. The problem is that openGL expects a regular array.</p>
  
  <p>Does anyone know how to go about this? Is there an easy way to convert from an STL vector to an array? </p>
  
  <p>I am using openGL 1.1</p>
  
  <p>Thanks</p>