Package: graphene
Function graphene:matrix-init-from-2d
Lambda Listgraphene:matrix-init-from-2d (matrix xx yx xy yy x0 y0) ArgumentsReturn ValueThe initialized graphene:matrix-t instance. Details
Initializes the matrix from the values of an affine transformation matrix.
The arguments map to the following matrix layout: ⎛ xx yx ⎞ ⎛ a b 0 ⎞ ⎜ xy yy ⎟ = ⎜ c d 0 ⎟ ⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠This function can be used to convert between an affine matrix type from other libraries and a graphene:matrix-t instance. Notes | See also |
#2024-12-30