initScale

fun initScale(x: Float, y: Float, z: Float): Matrix

Initializes a #graphene_matrix_t with the given scaling factors.

Return

the initialized matrix

Since

1.0

Parameters

x

the scale factor on the X axis

y

the scale factor on the Y axis

z

the scale factor on the Z axis