Vec2.interpolate

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

class Vec2
void
interpolate
(,
double factor
,
out Vec2 res
)

Parameters

v2 Vec2

a #graphene_vec2_t

factor double

the interpolation factor

res Vec2

the interpolated vector

Meta

Since

1.10