openrndr / org.openrndr.math.transforms / scale

scale

fun Matrix44.Companion.scale(scaleFactor: Vector3): Matrix44 (source)

Create a scaling matrix with the given vector

scale scale vector

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

Create a scaling matrix with the given components

x direction scale factor y direction scale factor z direction scale factor