title: Low frame rate in OpenGL
body: <p>I have a blender obj. file in an OpenGL application. I have also added a camera so that it will move in around that object (it's a building, so it's pretty large). The frame rate on it is awful.</p>
  
  <p>Why is it slow and/or how can I make it faster?</p>
  
  <pre><code>void camera (void) {
  glRotatef(xrot,1.0,0.0,0.0);  
  glRotatef(yrot,0.0,1.0,0.0);  
  glTranslated(-xpos,-ypos,-zpos); }
  </code></pre>
  
  <p>This is just my simple camera class. Just in case it helps.</p>