Click or drag to resize

Vector2FNegate Method

Reverses the direction of a given vector.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public static void Negate(
	ref Vector2F v,
	out Vector2F result
)

Parameters

v
Type: NeoAxisVector2F
The vector to negate.
result
Type: NeoAxisVector2F
When the method completes, contains a vector facing in the opposite direction.
See Also