Package: graphene

Function graphene:matrix-init-scale

Lambda List

graphene:matrix-init-scale (matrix x y z)

Arguments

matrix -- a graphene:matrix-t instance
x -- a number for the scale factor on the X axis
y -- a number for the scale factor on the Y axis
z -- a number for the scale factor on the Z axis

Return Value

The initialized graphene:matrix-t instance.

Details

Initializes the matrix with the given scaling factors.

Notes

All numbers are coerced to a single float before being passed to the foreign C function.
 

See also

#2024-12-30