Click or drag to resize

Vector2FUnaryNegation Operator

Reverses the direction of a given vector.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static Vector2F operator -(
	Vector2F v
)

Parameters

v
Type: NeoAxisVector2F
The vector to negate.

Return Value

Type: Vector2F
A vector facing in the opposite direction.
See Also