translate

fun translate(t: Vector2, target: TransformTarget = TransformTarget.MODEL)(source)
fun translate(x: Double, y: Double, target: TransformTarget = TransformTarget.MODEL)(source)

Applies a two-dimensional translation to the model matrix


fun translate(t: Vector3, target: TransformTarget = TransformTarget.MODEL)(source)

Applies three-dimensional translation to the model matrix


fun translate(x: Double, y: Double, z: Double, target: TransformTarget = TransformTarget.MODEL)(source)

Applies a three-dimensional translation to the model matrix