コード例 #1
0
 public static float Repeat(float t, float length)
 {
     return(MathFunc.Clamp(t - MathFunc.Floor(t / length) * length, 0f, length));
 }