translateMat44

fun translateMat44(tx: Float, ty: Float, tz: Float, res: FloatArray)

Constructs a translation 4x4 matrix.

Parameters

tx

The translation along the x-axis.

ty

The translation along the y-axis.

tz

The translation along the z-axis.

res

The resulting translation 4x4 matrix.