Anisotropic inverse Compton emission in the radio galaxy 3C295