dot method

num dot(
  1. Vector4 v
)

Implementation

num dot(Vector4 v) {
  return x * v.x + y * v.y + z * v.z + w * v.w;
}