Added support for a rotating camera.