add2 method

Matrix3 add2(
  1. Matrix3 a,
  2. Matrix3 b
)

Add a matrix to b matrix

Implementation

Matrix3 add2(Matrix3  a, Matrix3 b ) {
  Float32List te = storage, tem1 = a.storage, tem2 = b.storage;
  te[0] = tem1[0] + tem2[0]; te[1] = tem1[1] + tem2[1]; te[2] = tem1[2] + tem2[2];
  te[3] = tem1[3] + tem2[3]; te[4] = tem1[4] + tem2[4]; te[5] = tem1[5] + tem2[5];
  te[6] = tem1[6] + tem2[6]; te[7] = tem1[7] + tem2[7]; te[8] = tem1[8] + tem2[8];
  return this;
}