Fix arch compilation

This PR fixes compilation under arch.
Possible problem with radian/degree conversion.