Tesla Graphics Engine Documentation (January 2012)
UnaryNegation Operator
Tesla
►
Tesla.Math
►
Vector2
►
UnaryNegation(Vector2)
C#
Flips the signs of the components of the specified vector.
Declaration Syntax
C#
public
static
Vector2
operator
-
(
Vector2
value
)
Parameters
value
(
Vector2
)
Source vector
Return Value
Negated vector
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)