Matrix.scale

Adds a scaling transformation to @m, using the three given factors.

This is the equivalent of calling graphene_matrix_init_scale() and then multiplying the matrix @m with the scale matrix.

class Matrix
void
scale
(
float factorX
,
float factorY
,
float factorZ
)

Parameters

factorX float

scaling factor on the X axis

factorY float

scaling factor on the Y axis

factorZ float

scaling factor on the Z axis

Meta