scale

fun scale(factorX: Float, factorY: Float, factorZ: Float)

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.

Since

1.0

Parameters

factorX

scaling factor on the X axis

factorY

scaling factor on the Y axis

factorZ

scaling factor on the Z axis