Click or drag to resize

Vector2FAdd 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 Vector2F v1,
	ref Vector2F v2,
	out Vector2F result
)

Parameters

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