scale

fun scale(scale: Float): Mat4

Creates a transformation matrix for scaling by a given scale.

fun scale(x: Float = 1f, y: Float = 1f, z: Float = 1f): Mat4

Creates a transformation matrix for scaling by a given scale in x, y and z directions.