fun translate(translation: ZVector3)(source)

Translates the current matrix by the given vector.

Parameters

translation

The vector by which to translate.


fun translate(x: Float, y: Float, z: Float)(source)

Translates the current matrix by the specified x, y, and z values.

Parameters

x

The translation distance along the x-axis.

y

The translation distance along the y-axis.

z

The translation distance along the z-axis.