getRow method

Vector3 getRow(
  1. int row
)

Gets the row of the matrix

Implementation

Vector3 getRow(int row) {
  final r = Vector3.zero();
  final rStorage = r._v3storage;
  rStorage[0] = _m3storage[index(row, 0)];
  rStorage[1] = _m3storage[index(row, 1)];
  rStorage[2] = _m3storage[index(row, 2)];
  return r;
}