Click or drag to resize

Vector2ISubtract 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 Vector2I v1,
	ref Vector2I v2,
	out Vector2I result
)

Parameters

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