lerp
fn
double lerp(double a, double b, double t)Computes the linear interpolation between a and b for t.
Parameters
a | the start |
b | the end |
t | the interpolation rate |
Returns
the computed value
double lerp(double a, double b, double t)Computes the linear interpolation between a and b for t.
a | the start |
b | the end |
t | the interpolation rate |