fromNativeArray method

Matrix4 fromNativeArray(
  1. dynamic array, [
  2. int offset = 0
])

Implementation

Matrix4 fromNativeArray( array, [int offset = 0]) {
  for (int i = 0; i < 16; i++) {
    storage[i] = array[i + offset].toDouble();
  }

  return this;
}