dotVectors static method
Get the dot product between a
and b
Implementation
static double dotVectors(Vector3 a, Vector3 b ) {
return a.x * b.x + a.y * b.y + a.z * b.z;
}
Get the dot product between a
and b
static double dotVectors(Vector3 a, Vector3 b ) {
return a.x * b.x + a.y * b.y + a.z * b.z;
}