Added support for arbitrary camera rotation