To see this in action, we're going to set the camera's heading and pitch based on where the mouse is in the window.

Time for action - turning the camera with the mouse position