Matrix.initScale

Initializes a #graphene_matrix_t with the given scaling factors.

class Matrix
initScale
(
float x
,
float y
,
float z
)

Parameters

x float

the scale factor on the X axis

y float

the scale factor on the Y axis

z float

the scale factor on the Z axis

Return Value

Type: Matrix

the initialized matrix

Meta