Package: graphene

Function graphene:matrix-translate

Lambda List

graphene:matrix-translate (matrix pos)

Arguments

matrix -- a graphene:matrix-t instance
pos -- a graphene:point3d-t instance

Return Value

The graphene:matrix instance with the result.

Details

Adds a translation transformation to the matrix using the coordinates of the given point. This is the equivalent of calling the graphene:matrix-init-translate function and then multiplying the matrix with the translation matrix. graphene:matrix-init-translate
 

See also

#2024-12-30