dot method

double dot (Vector3 other)

Inner product.

Implementation

double dot(Vector3 other) {
  final Float32List otherStorage = other._v3storage;
  double sum;
  sum = _v3storage[0] * otherStorage[0];
  sum += _v3storage[1] * otherStorage[1];
  sum += _v3storage[2] * otherStorage[2];
  return sum;
}