Negates a 3D vector.
This function computes the negative of the provided 3D vector by multiplying each of its components by -1. The result is stored in the provided destination vector or in the original vector if no destination is provided.
The 3D vector to negate.
Optional
Optional destination vector to store the result. If not provided, the result is stored in the input vector.
The negated 3D vector.
Negates a 3D vector.
This function computes the negative of the provided 3D vector by multiplying each of its components by -1. The result is stored in the provided destination vector or in the original vector if no destination is provided.