dotProduct method

double dotProduct(
  1. V3 o
)

Dot product of this vector and o.

Implementation

double dotProduct(V3 o) => x * o.x + y * o.y + z * o.z;