[]
Calculates the dot product of two vectors.
public static float Dot(Vector2 left, Vector2 right)
Type | Name | Description |
---|---|---|
Vector2 | left | First source vector. |
Vector2 | right | Second source vector. |
Type | Description |
---|---|
float | The dot product of the two vectors. |