Click or drag to resize

Vector2FSubtract Method

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

Parameters

v1
Type: NeoAxisVector2F
The vector from which to subtract.
v2
Type: NeoAxisVector2F
The vector which should be subtracted from another.
result
Type: NeoAxisVector2F
When the method completes, contains the difference of the two vectors.
See Also