getColumn method

Vector4 getColumn(
  1. int column
)

Gets the column of the matrix

Implementation

Vector4 getColumn(int column) {
  final r = Vector4.zero();
  final rStorage = r._v4storage;
  final entry = column * 4;
  rStorage[3] = _m4storage[entry + 3];
  rStorage[2] = _m4storage[entry + 2];
  rStorage[1] = _m4storage[entry + 1];
  rStorage[0] = _m4storage[entry + 0];
  return r;
}