[]
Adds two vectors.
public static void AddRef(out Vector2 result, ref Vector2 left, ref Vector2 right)
Type | Name | Description |
---|---|---|
Vector2 | result | When the method completes, contains the sum of the two vectors. |
Vector2 | left | The first vector to add. |
Vector2 | right | The second vector to add. |