Vec2.interpolate

Linearly interpolates v1 and v2 using the given factor.

class Vec2
void
interpolate

Parameters

v2 graphene.vec2.Vec2

a #graphene_vec2_t

factor double

the interpolation factor

res graphene.vec2.Vec2

the interpolated vector