Package: graphene
Function graphene:matrix-scale
Lambda Listgraphene:matrix-scale (matrix xfactor yfactor zfactor) Argumentsmatrix -- a graphene:matrix-t instance xfactor -- a number for the scaling factor on the X axis yfactor -- a number for the scaling factor on the Y axis zfactor -- a number for the scaling factor on the Z axis Return ValueThe graphene:matrix-t instance with the result. Details
Adds a scaling transformation to the matrix, using the three given factors. This is the equivalent of calling the graphene:matrix-init-scale
function and then multiplying the matrix with the scale matrix. Notes | See also |
#2025-4-6