Vec3.interpolate

Linearly interpolates v1 and v2 using the given factor.

class Vec3
void
interpolate

Parameters

v2 graphene.vec3.Vec3

a #graphene_vec3_t

factor double

the interpolation factor

res graphene.vec3.Vec3

the interpolated vector