fromArray method

SphericalHarmonics3 fromArray(
  1. List<double> array, [
  2. int offset = 0
])

Implementation

SphericalHarmonics3 fromArray(List<double> array, [int offset = 0]) {
  var coefficients = this.coefficients;

  for (var i = 0; i < 9; i++) {
    coefficients[i].fromArray(array, offset + (i * 3));
  }

  return this;
}