Return true if the algleToTest is between startAngle and endAngle
Input angle to test
Input start angle
Input end angle
Input rotation direction from start angle to end angle
Return true if the algleToTest is between startAngle and endAngle