A concept that enables in-vacuum continuous variation of the angle between two ports in one plane has been developed and implemented. The vacuum chamber allows for measuring scattering cross sections as a function of scattering angle and is intended for resonant inelastic X-ray scattering experiments. The angle between the ports can be varied in the range of 30°-150°, while the pressure change is less than 2 × 10(-10) mbars.