scale

fun scale(scale: Float): Mat4

Creates a transformation matrix for scaling by a given scale.


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

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