update 3d projection rotation