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
aandbbased ontxandty, wheretxandtyare numbers between0.0and1.0. The result is stored inc.The calculation is as follows:
a.xandb.xare interpolated based ontxto givec.x,a.yandb.yare interpolated based ontyto givec.y.The result will be equal to
awhentxandtyare both0.0, equal tobwhentxandtyare both1.0, and halfway betweenaandbwhentxandtyare both0.5