NormalizeAngle

procedure NormalizeAngle(var angle: double);


This procedure ensures that angle is always in the range: 0 .. 2 * PI.