dot method
Four-dimensional dot product.
Implementation
double dot(Quaternion other) =>
x * other.x + y * other.y + z * other.z + w * other.w;
Four-dimensional dot product.
double dot(Quaternion other) =>
x * other.x + y * other.y + z * other.z + w * other.w;