interpolate

fun interpolate(b: Point3D, factor: Double, res: Point3D)

Linearly interpolates each component of @a and @b using the provided @factor, and places the result in @res.

Since

1.0

Parameters

b

a #graphene_point3d_t

factor

the interpolation factor

res

the return location for the interpolated #graphene_point3d_t