Extensions for Math.
More...
|
static Double | Lerp (Double a, Double b, Double t) |
| Linear interpolation between a and b with factor t.
|
|
static Int32 | LerpRounded (Int32 a, Int32 b, Double t, MidpointRounding rounding=MidpointRounding.ToEven) |
| Linear interpolation between integers a and b with factor t with given rounding method.
|
|
static Int64 | LerpRounded (Int64 a, Int64 b, Double t, MidpointRounding rounding=MidpointRounding.ToEven) |
| Linear interpolation between integers a and b with factor t with given rounding method.
|
|
static Byte | LerpRounded (Byte a, Byte b, Double t, MidpointRounding rounding=MidpointRounding.ToEven) |
| Linear interpolation between integers a and b with factor t with given rounding method.
|
|