namespace DTT.Utils.Workflow { /// /// Provides mathematical methods for double values. /// public static class Mathd { /// /// Returns the linearly interpolated value between double value a and b. /// /// The start value. /// The target value. /// The percentage value between 0 and 1. /// The linearly interpolated value. public static double Lerp(double start, double target, float perc) => start + (target - start) * perc; } }