getTurnDirection

public static double getTurnDirection(double startHeading, double endHeading)

This gets the direction to turn between a start heading and an end heading. Positive is left and negative is right. This operates in radians.

Return

returns the turn direction.