setColumn method

void setColumn(
  1. int column,
  2. Vector2 arg
)

Assigns the column of the matrix arg

Implementation

void setColumn(int column, Vector2 arg) {
  final argStorage = arg._v2storage;
  final entry = column * 2;
  _m2storage[entry + 1] = argStorage[1];
  _m2storage[entry + 0] = argStorage[0];
}