title: Filling a VBO with QVector<QVector3D>
body: <p>I saw in a tutorial that you can fill a VBO directly with a <code>std::vector&lt;glm::vec3&gt;</code> like this:</p>
  
  <pre><code>std::vector&lt; glm::vec3 &gt; vertices;
  // fill the vector and create VBO
  glBufferData(GL_ARRAY_BUFFER, vertices.size() * sizeof(glm::vec3), &amp;vertices[0], GL_STATIC_DRAW);
  </code></pre>
  
  <p>Now I wonder if I can do the same with a <code>QVector&lt;QVector3D&gt;</code>. <code>QVector</code> can replace <code>std::vector</code> because the memory is contiguous in both of them. But <code>QVector3D</code> and <code>glm::vec3</code> are both non POD(correct me if I am wrong) and somehow <code>glm::vec3</code> works. Is it standard behaviour? Can I try to do the same with <code>QVector3D</code>?</p>