scaleMat44

fun scaleMat44(sx: Float, sy: Float, sz: Float, res: FloatArray)

Constructs a scale 4x4 matrix.

Parameters

sx

The scale factor along the x-axis

sy

The scale factor along the y-axis

sz

The scale factor along the z-axis

res

The resulting scale 4x4 matrix