Original Post
C++ / DirectX Hi, I'm looking for a solid camera tutorial or class code that allows FULL rotation on all axis. I'm working on a game set in space and the only Up or Down direction is in relation to my ship(camera). I'm looking for answers to my problem below. By myself, I got it so I'm able to rotate left/right in complete circles. Or I can rotate up/down in complete circles. But for some reason, after rotating left/right, the up/down rotations become wacked. When the camera gets near straight up/down, it sort of spins 180 degrees. When the up/down rotations work properly (before rotating left or right), I'm starting from camPos=(0,0,0) camAim = (0,0,10).