title: Trying to implement a mouse look "camera" in OpenGL/SFML
body: <p>I've been using OpenGL with SFML 1.6 for some time now, and it has been a blast! With one exception: I can't seem to implement a camera class correctly. You see, I am trying to create a C++ class called "Camera". Here are my functions:</p>
  
  <p><code>Camera::Strafe(float fSpeed)</code></p>
  
  <p>checks whether the WASD keys are pressed, and if so, move the camera at "fSpeed" in their respective directions.</p>
  
  <p><code>Camera::MouseMove(int currentX, int currentY)</code></p>
  
  <p>should provide a first-person mouse look, taking in the current mouse coordinates and rotating the camera accordingly. My Strafe() implementation works fine, but I can't seem to get MouseMove() right.</p>
  
  <p>I already know from reading other resources on OpenGL mouse look implementations that I must center the mouse after every frame, and I have that part down. But that's about it. I can't seem to get how to actually rotate the camera on the spot from the mouse coordinates. Probably need to use some trig, I bet.</p>