The same procedure as dot_product.
assert(dot(xyz(1, 2, 3), xyz(4, 5, 6)) == 32);dot :: (a: Vector2, b: Vector2) -> float
The dot product of a and b.
Parameters
Returns
- float
dot :: (a: Vector3, b: Vector3) -> float
The dot product of a and b.
Parameters
Returns
- float
dot :: (a: Vector4, b: Vector4) -> float
The dot product of a and b.
Parameters
Returns
- float