void copyFromAndConcat(Matrix copyMatrix, Matrix concatMatrix)

Source

void copyFromAndConcat(Matrix copyMatrix, Matrix concatMatrix) {

  var a1 =  copyMatrix.a;
  var b1 =  copyMatrix.b;
  var c1 =  copyMatrix.c;
  var d1 =  copyMatrix.d;
  var tx1 = copyMatrix.tx;
  var ty1 = copyMatrix.ty;

  var a2 =  concatMatrix.a;
  var b2 =  concatMatrix.b;
  var c2 =  concatMatrix.c;
  var d2 =  concatMatrix.d;
  var tx2 = concatMatrix.tx;
  var ty2 = concatMatrix.ty;

  _data[0] = a1 * a2 + b1 * c2;
  _data[1] = a1 * b2 + b1 * d2;
  _data[2] = c1 * a2 + d1 * c2;
  _data[3] = c1 * b2 + d1 * d2;
  _data[4] = tx1 * a2 + ty1 * c2 + tx2;
  _data[5] = tx1 * b2 + ty1 * d2 + ty2;
}