Vector2DNegate Method (Vector2D) |
Negates every component of the specified vector.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Vector2D Negate(
Vector2D vector
)
Public Shared Function Negate (
vector As Vector2D
) As Vector2D
public:
static Vector2D Negate(
Vector2D vector
)
static member Negate :
vector : Vector2D -> Vector2D
Parameters
- vector
- Type: LightBuzzVector2D
The vector to negate.
Return Value
Type:
Vector2DThe negated vector.
See Also