forked from: shortest angle on circle

@author Nicolas Barradeau