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