copyFromArray method

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

Implementation

Matrix4 copyFromArray(List<double> array, [int offset = 0]) {
  for (int i = 0; i < 16; i++) {
    storage[i] = array[i + offset];
  }

  return this;
}