title: How can I make the camera fly through objects in OpenGL using Glut?
body: <p>First off, all of my code can be found here, it's in 3 files.</p>
  
  <p><a href="http://pastie.org/private/du7e5cfydtkusyd3gjyg" rel="nofollow">flythrough.cpp</a>, <a href="http://pastie.org/private/jmoijjnw8vlrydsuc5jhq" rel="nofollow">support.cpp</a>, <a href="http://pastie.org/private/giec3vhelecuyaiipavq" rel="nofollow">support.h</a></p>
  
  <p>Okay... so if you run that, it seems to work, but a few things are really bugging me!</p>
  
  <p>The camera is starting off in a strange location, I try to change all kinds of variables, but it doesn't seem to have an effect. </p>
  
  <p>The biggest issue right now is moving the camera. At this point in time... the camera WILL move left and right, but NOT forward or backward. When I try to move forward, it's like the pixels are doing the correct thing, the object will eventually vanish as I move forward, like I've moved past it, but the object itself is not "appearing larger" as I get closer. Same for moving backward.</p>
  
  <p>Please let me know if you can come up with anything.</p>
  
  <p>I'd like to add that a majority of this code comes from my textbook. With modifications from myself.</p>
  
  <p>Thanks!</p>