Matrix4 fromArray(array, [int offset = 0]) { for (var i = 0; i < 16; i++) { elements[i] = array[i + offset].toDouble(); } return this; }