setFrom method

Matrix3 setFrom(
  1. Matrix3 m
)

Copies the elements of matrix page:Matrix3 m into this matrix.

Implementation

Matrix3 setFrom(Matrix3 m) {
  final te = storage;
  final me = m.storage;

  te[0] = me[0];
  te[1] = me[1];
  te[2] = me[2];
  te[3] = me[3];
  te[4] = me[4];
  te[5] = me[5];
  te[6] = me[6];
  te[7] = me[7];
  te[8] = me[8];

  return this;
}