updated version of three.js. camera rotation and panning now only done once per frame.