Equirectangular rotation transform code revision