title: Access data from Vector3f
body: <p>I was wondering why i am unable to do following:</p>
  
  <p><code>std::cout &lt;&lt; myMesh.faces[i].vertices[k].pos[k];</code></p>
  
  <p>Error: <code>Type 'Vector3f' does not provide a subscript operator</code></p>
  
  <p>My struct:</p>
  
  <pre><code>struct ObjMeshVertex{
      Vector3f pos;
      Vector2f texcoord;
      Vector3f normal;
  };
  </code></pre>
  
  <p>myMesh:</p>
  
  <pre><code>struct ObjMesh{
      std::vector&lt;ObjMeshFace&gt; faces;
  };
  
  struct ObjMeshFace{
      ObjMeshVertex vertices[3];
  };
  </code></pre>
  
  <p>I cannot access the pos in any way.</p>