Linear interpolation between a and b based on t, where t is a number between 0.0 and 1.0. The result is stored in c.
a
b
t
0.0
1.0
c
The result will be equal to a when t is 0.0, equal to b when t is 1.0, and halfway between a and b when t is 0.5
0.5
the start value - a 4-element vector object
the end value - a 4-element vector object
a floating point number in the interval [0.0, 1.0]
[0.0, 1.0]
a 4-element vector in which to store the result
c - the interpolation result
Generated using TypeDoc
Linear interpolation between
a
andb
based ont
, wheret
is a number between0.0
and1.0
. The result is stored inc
.The result will be equal to
a
whent
is0.0
, equal tob
whent
is1.0
, and halfway betweena
andb
whent
is0.5