Matrix.interpolate

Linearly interpolates the two given #graphene_matrix_t by interpolating the decomposed transformations separately.

If either matrix cannot be reduced to their transformations then the interpolation cannot be performed, and this function will return an identity matrix.

class Matrix
void
interpolate
(,
double factor
,)

Parameters

b Matrix

a #graphene_matrix_t

factor double

the linear interpolation factor

res Matrix

return location for the interpolated matrix

Meta