This function convert an angle in radian to fit in [-Pi; PI].
double dg_get_radian(double angle);
dg_get_radian(5 * PI)
double dg_get_radian(double angle)
{
while (angle > PI)
angle -= 2 * PI;
while (angle < -PI)
angle += 2 * PI;
return angle;
}