Vector.invert
-
Vector.
invert
()[source] Invert the direction of this vector
Note
a negation of a vector is similar to inverting a vector
Examples
>>> u = Vector(1.0, 0.0, 0.0) >>> v = u.copy() >>> u.invert() >>> u == v False >>> u.invert() >>> u == v True >>> v == --v True