setDiagonal method

void setDiagonal (Vector2 arg)

Sets the diagonal of the matrix to be arg.

Implementation

void setDiagonal(Vector2 arg) {
  final Float64List argStorage = arg._v2storage;
  _m2storage[0] = argStorage[0];
  _m2storage[3] = argStorage[1];
}