Operator UnaryNegation
UnaryNegation(double2)
Returns the result of a componentwise unary minus operation on a double2 vector.
Declaration
public static double2 operator -(double2 val)
Parameters
Type | Name | Description |
---|---|---|
double2 | val | Value to use when computing the componentwise unary minus. |
Returns
Type | Description |
---|---|
double2 | double2 result of the componentwise unary minus. |