camera rotation problem
You complained that your code didn't compile. I'm telling you why it doesn't. You never complained about the 'model being flipped upside down' or a 'jog on the camera'.
If you want to make the camera lean to one side, you change the up vector for the camera. That is all there is to it. If you make the up vector point straight down, as in his example, then the entire scene will seem upside down... kinda like when you stand on your head.
As has been mentioned before, the FPS camera isn't perfect. It doesn't handle an up vector rotation very well. If you want to be able to lean the camera to one side and have it perform correctly, you'll need to modify the camera code, or make a copy and change that.
Travis
If you want to make the camera lean to one side, you change the up vector for the camera. That is all there is to it. If you make the up vector point straight down, as in his example, then the entire scene will seem upside down... kinda like when you stand on your head.
As has been mentioned before, the FPS camera isn't perfect. It doesn't handle an up vector rotation very well. If you want to be able to lean the camera to one side and have it perform correctly, you'll need to modify the camera code, or make a copy and change that.
Travis