Functionslerplerp Callablelerp(a: number, b: number, time: number): numberLinear interpolation between a and b, at time = 0 the value will be a at time = 1 the value will be bParametersa: numberb: numbertime: numberReturns number
Linear interpolation between
a
andb
, attime = 0
the value will bea
attime = 1
the value will beb