A study of the production of γ-rays in high-energy nuclear interactions