reorder method

Euler reorder(
  1. RotationOrders newOrder
)

Resets the euler angle with a new order by creating a quaternion from this euler angle and then setting this euler angle with the quaternion and the new order.

Warning: this discards revolution information.

Implementation

Euler reorder(RotationOrders newOrder) {
  // WARNING: this discards revolution information -bhouston
  _quaternion.setFromEuler(this, false);
  return setFromQuaternion(_quaternion, newOrder, false);
}