Calculate WrapAngle(angle) in advance