scale

fun ShapeRenderer.scale(scale: Vector2)

See ShapeRenderer.scale. Multiplies the current transformation matrix by a scale matrix, with z not scaled.

Parameters

scale

supplies x and y scale.


fun ShapeRenderer.scale(scale: Vector3)

See ShapeRenderer.scale. Multiplies the current transformation matrix by a scale matrix.

Parameters

scale

supplies x, y and z scale.