Rotation
data class Rotation(val angle: Double, val axis: Model.Axis, val origin: Vector3dc, val rescale: Boolean)
The rotation of an Element.
Parameters
angle
The angle of the rotation. Can be 45.0, 22.5, -22.5, -45.0
axis
The axis of the rotation.
origin
The origin / pivot point of the rotation.
rescale
Whether the model should be rescaled to fit the new size. (for example a 45° rotation stretches the element by sqrt(2))