fromArray method

Matrix3 fromArray(
  1. Float32Array array, {
  2. int offset = 0,
})

Implementation

Matrix3 fromArray(Float32Array array, {int offset = 0}) {
  for (var i = 0; i < 9; i++) {
    elements[i] = array[i + offset];
  }

  return this;
}