fun scale(result: ZMatrix4, m: ZMatrix4, x: Float, y: Float, z: Float)(source)

Scales a given 4x4 matrix by specified x, y, and z scaling factors.

Parameters

result

The matrix to store the result of the scaling operation.

m

The original matrix to be scaled.

x

The scaling factor along the x-axis.

y

The scaling factor along the y-axis.

z

The scaling factor along the z-axis.


fun scale(result: ZMatrix4, m: ZMatrix4, s: ZVector3)(source)
fun scale(result: ZMatrix4, s: ZVector3)(source)