getColumn method

Vector2 getColumn(
  1. int column
)

Gets the column of the matrix

Implementation

Vector2 getColumn(int column) {
  final r = Vector2.zero();
  final entry = column * 2;
  final rStorage = r._v2storage;
  rStorage[1] = _m2storage[entry + 1];
  rStorage[0] = _m2storage[entry + 0];
  return r;
}