v = physics.Vect:neg()
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Vect |
The input vector |
v |
out physics.Vect |
The resulting negated vector |
Returns the negative of self.
The Vect class also implements the unary minus operator (-self).
Introduced in platform.apiLevel = '2.0'