Matrix.translate

Adds a translation transformation to @m using the coordinates of the given #graphene_point3d_t.

This is the equivalent of calling graphene_matrix_init_translate() and then multiplying @m with the translation matrix.

class Matrix
void
translate

Parameters

pos Point3D

a #graphene_point3d_t

Meta