interpolate

fun interpolate(v2: Vec2, factor: Double, res: Vec2)

Linearly interpolates @v1 and @v2 using the given @factor.

Since

1.10

Parameters

v2

a #graphene_vec2_t

factor

the interpolation factor

res

the interpolated vector