interpolate

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

Linearly interpolates the coordinates of @a and @b using the given @factor.

Since

1.0

Parameters

b

a #graphene_point_t

factor

the linear interpolation factor

res

return location for the interpolated point