Returns the dot product of row i and v.
i
v
double dotRow(int i, Vector2 v) { final vStorage = v._v2storage; return _m2storage[i] * vStorage[0] + _m2storage[2 + i] * vStorage[1]; }