This function negates the vector, and returns the result as a pipe-bar delimited list.
VectorNegate([Vector])
Where:
Vector is a pipe-bar delimited list representing the vector (X|Y|Z).
Rule | Result |
---|---|
VectorNegate("1|-2|3") | Will return the negated value of the given vector, -1|2|-3. |
Due to floating point precision, some calculations may not be as precise as expected.
This can be avoided by following the advice in the topic Info: Floating Point Precision.