translate

fun translate(pos: Point3D)

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.

Since

1.0

Parameters

pos

a #graphene_point3d_t