If I am given a start angle of 1.0f and an end angle of 6.0f, then what I really want to interpolate is not 5 between 1 and 6, but the smaller part. This will cause interpolation counterclockwise. How can I explain this with interpolation?
In fact, for a given 2 radial angles from 0 to 6.283, how can I find out if I should interpolate clockwise or counterclockwise, on the basis of which it would be "shorter"?
thank
source
share