# rotate

Applies a rotation over the z-axis to the model matrix

#### Parameters

__rotation__InDegrees

the rotation in degrees

fun rotate(axis: Vector3, rotationInDegrees: Double, target: TransformTarget = TransformTarget.MODEL)(source)

Applies a rotation over an arbitrary axis to the model matrix

#### Parameters

__axis__

the axis to rotate over, will be normalized

__rotation__InDegrees

the rotation in degrees