Rotation
data class Rotation(val x: Double = 0.0, val y: Double = 0.0, val z: Double = 0.0, val origin: Vector3dc, val rescale: Boolean = false)
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))