reorder

fun reorder(newOrder: EulerOrder): Euler

Changes the rotation order and keeps the same rotation, by converting through a quaternion.

Warning: full turns are lost, so every angle comes back between -PI and PI.

Return

A reference to this Euler instance.

Parameters

newOrder

The new order in which the axis rotations are applied.