Linearly interpolates from its first argument to its second argument, with the third argument as the parameter
Works on both regular numbers, vectors of the same type, and matrices of the same type
overload 1:
math.lerp(a, b, t)
Method Property | Fluent Description | Representation |
a accepts | a Number | |
b accepts | a Number | |
t accepts | a Number | |
Return Value | a Number | |
overload 2:
math.lerp(a, b, t)
Method Property | Fluent Description | Representation |
a accepts | a Vector | |
b accepts | a Vector | |
t accepts | a Number | |
Return Value | a Vector | |
overload 3:
math.lerp(a, b, t)
Method Property | Fluent Description | Representation |
a accepts | a Matrix | |
b accepts | a Matrix | |
t accepts | a Number | |
Return Value | a Matrix | |