added rotation and max. renderDistance fixes #17