dotProduct method

double dotProduct(
  1. V3 o
)

Implementation

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