# scale

Apply a uniform scale to the model matrix

## Parameters

s

the scaling factor

fun scale(x: Double, y: Double, target: TransformTarget = TransformTarget.MODEL)

Content copied to clipboard

Applies non-uniform scale to the model matrix

## Parameters

x

the scaling factor for the x-axis

y

the scaling factor for the y-axis

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

Content copied to clipboard

Applies non-uniform scale to the model matrix

## See also

## Parameters

x

the scaling factor for the x-axis

y

the scaling factor for the y-axis

z

the scaling factor for the y-axis