interpolate


Description:

[ Version ( since = "1.10" ) ]
public Vec2 interpolate (Vec2 v2, double factor)

Linearly interpolates this and v2 using the given factor.

Parameters:

this

a Vec2

v2

a Vec2

factor

the interpolation factor

res

the interpolated vector