lerp

Computes the linear interpolation between a and b for t.

double
lerp
(
double a
,
double b
,
double t
)

Parameters

a double

the start

b double

the end

t double

the interpolation rate

Return Value

Type: double

the computed value