Vectorial ray-based diffraction integral