openrndr / org.openrndr.math.transforms / translate

translate

fun Matrix44.Companion.translate(translation: Vector3): Matrix44 (source)

Create a translate matrix with the given vector

scale scale vector

fun Matrix44.Companion.translate(x: Double, y: Double, z: Double): Matrix44 (source)

Create a scaling matrix with the given components

x translate direction y translate direction z translate direction