rotate

fun ShapeRenderer.rotate(axis: Vector3, degrees: Float)

See ShapeRenderer.rotate. Multiplies the current transformation matrix by a rotation matrix.

Parameters

axis

supplies x, y and z parameters.

degrees

rotation angle in degrees.