Пример #1
0
 public static double Repeat(double t, double length)
 {
     return(t - Mathd.Floor(t / length) * length);
 }
Пример #2
0
 public static float Repeat(float t, float length)
 {
     return(t - Mathd.Floor(t / length) * length);
 }