rotate

fun rotate(axis: Vector3, degrees: Double)(source)

Applies a rotation over an arbitrary axis to the transform matrix. Affects meshes added afterward.

Parameters

axis

the axis to rotate over, will be normalized

degrees

the rotation in degrees