dotRow method Null safety

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

Returns the dot product of row i and v.

Implementation

double dotRow(int i, Vector3 v) {
  final vStorage = v._v3storage;
  return _m3storage[i] * vStorage[0] +
      _m3storage[3 + i] * vStorage[1] +
      _m3storage[6 + i] * vStorage[2];
}