Element-wise linear interpolation between a and b based on tx and ty, where tx and ty are numbers
between 0.0 and 1.0.
The result is stored in c.
The calculation is as follows: a.x and b.x are interpolated based on tx to give c.x,
a.y and b.y are interpolated based on ty to give c.y.
The result will be equal to a when tx and ty are both 0.0,
equal to b when tx and ty are both 1.0,
and halfway between a and b when tx and ty are both 0.5
Element-wise linear interpolation between
a
andb
based ontx
andty
, wheretx
andty
are numbers between0.0
and1.0
. The result is stored inc
.The calculation is as follows:
a.x
andb.x
are interpolated based ontx
to givec.x
,a.y
andb.y
are interpolated based onty
to givec.y
.The result will be equal to
a
whentx
andty
are both0.0
, equal tob
whentx
andty
are both1.0
, and halfway betweena
andb
whentx
andty
are both0.5