title: std::vector out of range
body: <p>Currently I am trying to render a .obj model that I loaded into vectors. I am trying to pull the Vector3D object out of the array but it gives me an out of range error. It only goes to five before the array crashes, when the array has 12 objects for example. Here is the code for the rendering.</p>
  
  <pre><code>glBegin(GL_TRIANGLE_STRIP);
  
  for (int indx = 0; indx &lt; mv3_faces.size(); ++indx)
  {
      if (mb_print_once)
      {
          std::cout &lt;&lt; "Rendering Loop....Faces at 8: " &lt;&lt; mv3_faces.at(5).x &lt;&lt; " Current Index: " &lt;&lt; indx &lt;&lt; std::endl;
          std::cout &lt;&lt; "Rendering Loop X: " &lt;&lt; mv3_faces.at(indx).x &lt;&lt; " Y: " &lt;&lt; mv3_faces.at(indx).y &lt;&lt; " Z: " &lt;&lt; mv3_faces.at(indx).z &lt;&lt; std::endl;
      }
  
      glColor4f(1.0f, 1.0f, 0.0f, 1.0f);
  
      glVertex3f(mv3_vertices.at(mv3_faces.at(indx).x).x, mv3_vertices.at(mv3_faces.at(indx).y).y, mv3_vertices.at(mv3_faces.at(indx).z).z);
  }
  
  mb_print_once = false;
  glEnd();
  </code></pre>
  
  <p>Ignore the mb_print_once... that is for debugging purposes.</p>