Matrix.initScale

graphene.matrix.Matrix initScale(float x, float y, float z)

Initializes a #graphene_matrix_t with the given scaling factors.

Parameters

xthe scale factor on the X axis
ythe scale factor on the Y axis
zthe scale factor on the Z axis

Returns

the initialized matrix