Rotation

constructor(angle: Double, axis: Model.Axis, origin: Vector3dc, rescale: Boolean)

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))