fromArray method

Euler fromArray(
  1. List<double> array
)

Implementation

Euler fromArray(List<double> array) {
  _x = array[0];
  _y = array[1];
  _z = array[2];
  if (array.length > 3) _order = RotationOrders[array[3].toInt()];

  onChangeCallback();

  return this;
}