Exemple #1
0
 // Like the approach float function, but rotates current along the shortest path
 // to the target, like an angle moving along a circle towards a different angle.
 public Angle Approach(Angle target, Angle stepSize)
 {
     degrees = UtilPeriodic.Approach(degrees, target.GetDegrees(),
                                     stepSize.GetDegrees(), INTERVAL_UNSIGNED_DEGREES);
     return(this);
 }