interpolate

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

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

Since

1.10

Parameters

v2

a #graphene_vec3_t

factor

the interpolation factor

res

the interpolated vector