Negates the values of the components of a tuple, except for component w. This can be used where you do not want the negation to affect the original tuple but rather to produce a new, negated tuple
const vector = tuple(1, -2, 3, 0) as VectornegateTuple(vector).components() // [-1, 2, -3, 0]
A tuple that is the result of negating the components (besides w) of a given tuple
Tuple to negate
Generated using TypeDoc
Negates the values of the components of a tuple, except for component w. This can be used where you do not want the negation to affect the original tuple but rather to produce a new, negated tuple
Example
Returns
A tuple that is the result of negating the components (besides w) of a given tuple