dotRow method

double dotRow (
  1. int i,
  2. Vector2 v
)

Returns the dot product of row i and v.

Implementation

double dotRow(int i, Vector2 v) {
  final Float32List vStorage = v._v2storage;
  return _m2storage[i] * vStorage[0] + _m2storage[2 + i] * vStorage[1];
}