Example #1
0
 public static pfloat Repeat(pfloat t, pfloat length)
 {
     return(FPMath.Clamp(t - FPMath.Floor(t / length) * length, pfloat.Zero, length));
 }