Click or drag to resize

Vector2IAdd Method

Adds two vectors.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void Add(
	ref Vector2I v1,
	ref Vector2I v2,
	out Vector2I result
)

Parameters

v1
Type: NeoAxisVector2I
The first vector to add.
v2
Type: NeoAxisVector2I
The second vector to add.
result
Type: NeoAxisVector2I
When the method completes, contains the sum of the two vectors.
See Also